[PATCH] KVM: Qemu: Do not use log dirty in IA64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi
	please checkin it to kvm85, thanks!

IA64 does not support log dirty. We should not use it
in IA64, or it will have some problem.


Signed-off-by: Yang Zhang <yang.zhang@xxxxxxxxx>
---
 qemu/qemu-kvm.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index 4164368..ed76367 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -1374,7 +1374,10 @@ int kvm_log_start(target_phys_addr_t phys_addr, target_phys_addr_t len)
     if (must_use_aliases_source(phys_addr))
         return 0;
 #endif
+
+#ifndef TARGET_IA64
     kvm_qemu_log_memory(phys_addr, len, 1);
+#endif
     return 0;
 }
 
@@ -1384,7 +1387,10 @@ int kvm_log_stop(target_phys_addr_t phys_addr, target_phys_addr_t len)
     if (must_use_aliases_source(phys_addr))
         return 0;
 #endif
+
+#ifndef TARGET_IA64
     kvm_qemu_log_memory(phys_addr, len, 0);
+#endif
     return 0;
 }
 
-- 
1.6.0.rc1

Attachment: 0001-KVM-Qemu-Do-not-use-log-dirty-in-IA64.patch
Description: 0001-KVM-Qemu-Do-not-use-log-dirty-in-IA64.patch


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux