2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-21 09:01:46 +00:00

-Add fix for IO during migration problems

This commit is contained in:
jbjohnso 2009-07-08 15:59:09 +00:00
parent 7d1592aec7
commit 7ccf9e1623
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -urN qemu-kvm-0.10.5/migration.c qemu-kvm-0.10.5-flush-aio-on-migration/migration.c
--- qemu-kvm-0.10.5/migration.c 2009-05-21 05:05:19.000000000 -0400
+++ qemu-kvm-0.10.5-flush-aio-on-migration/migration.c 2009-07-08 11:53:42.000000000 -0400
@@ -216,6 +216,7 @@
dprintf("done iterating\n");
vm_stop(0);
+ qemu_aio_flush();
bdrv_flush_all();
if ((qemu_savevm_state_complete(s->file)) < 0) {
vm_start();

View File

@ -1,6 +1,6 @@
Name: qemu-kvm
Version: 0.10.5
Release: 1
Release: 2
Summary: Kernel Virtual Machine virtualization environment
Group: System Environment/Kernel
@ -18,6 +18,7 @@ BuildRequires: zlib-devel
Source0: qemu-kvm-0.10.5.tar.gz
Patch: qemu-option-rom-expansion.patch
Patch1: qemu-kvm-0.10.5-flush-aio-on-migration.patch
%description
The Kernel Virtual Machine provides a virtualization enviroment for processors
@ -27,6 +28,7 @@ with hardware support for virtualization: Intel's VT-x&VT-i and AMD's AMD-V.
%setup
%patch -p1
%patch1 -p1
%build
rm -rf %{buildroot}