diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-22 17:36:45 +0100 |
|---|---|---|
| committer | Juan Quintela <quintela@redhat.com> | 2013-03-11 13:32:02 +0100 |
| commit | 1964a397063967acc5ce71a2a24ed26e74824ee1 (patch) | |
| tree | 3b8d36dae719e0fb1c65a5fc6e231d2f3aa6ced0 /migration-unix.c | |
| parent | 442773cef15092b5927851237850760345d2cf16 (diff) | |
| download | focaccia-qemu-1964a397063967acc5ce71a2a24ed26e74824ee1.tar.gz focaccia-qemu-1964a397063967acc5ce71a2a24ed26e74824ee1.zip | |
migration: move rate limiting to QEMUFile
Rate limiting is now simply a byte counter; client call qemu_file_rate_limit() manually to determine if they have to exit. So it is possible and simple to move the functionality to QEMUFile. This makes the remaining functionality of s->file redundant; in the next patch we can remove it and write directly to s->migration_file. Reviewed-by: Orit Wasserman <owasserm@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration-unix.c')
0 files changed, 0 insertions, 0 deletions