diff mbox

KVM: Qemu: Do not use log dirty in IA64

Message ID 10C63FAD690C13458F0B32BCED571F140E328C16@pdsmsx502.ccr.corp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Zhang, Yang March 27, 2009, 3:55 a.m. UTC
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@intel.com>
---
 qemu/qemu-kvm.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Comments

Avi Kivity April 1, 2009, 8:58 a.m. UTC | #1
Zhang, Yang wrote:
> 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.
>   

Applied, thanks.  When are you planning to add support for log dirty on 
ia64?
Zhang, Xiantao April 1, 2009, 10:13 a.m. UTC | #2
Avi Kivity wrote:
> Zhang, Yang wrote:
>> 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.
>> 
> 
> Applied, thanks.  When are you planning to add support for log dirty
> on ia64?

We had the patch at hand, but still there are other issues which block upstream, so hadn't tested it yet. 
Xiantao--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;
 }