diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-02-09 18:58:05 -0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-02-18 15:24:06 +0200 |
commit | 64defc2b52571c5f891b018c8f2b70b10f3bb11c (patch) | |
tree | 28e03bb037c42a1fa18fbc640339bae2a72f37a0 /qemu-kvm.c | |
parent | Increase VNC_MAX_WIDTH (diff) | |
download | qemu-kvm-64defc2b52571c5f891b018c8f2b70b10f3bb11c.tar.gz qemu-kvm-64defc2b52571c5f891b018c8f2b70b10f3bb11c.tar.bz2 qemu-kvm-64defc2b52571c5f891b018c8f2b70b10f3bb11c.zip |
Do not allow vcpu stop with in progress PIO
Re-enter the kernel to complete in progress PIO. Otherwise the
operation can be lost during migration.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-kvm.c')
-rw-r--r-- | qemu-kvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-kvm.c b/qemu-kvm.c index 3d9bebd94..25addaf3b 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -966,6 +966,7 @@ int kvm_run(CPUState *env) run->io.direction, run->io.size, run->io.count); + r = 0; break; case KVM_EXIT_DEBUG: r = handle_debug(env); |