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

[Xen-changelog] [xen-unstable] [IA64] Fix vmx_emul_mov_from_dbr/ibr()



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1192219917 21600
# Node ID 0badb22cde796d552025af17cce50c85bb5ba7b1
# Parent  f0f4cd789eaa8c6c7498aa2ac8caf656b33c8726
[IA64] Fix vmx_emul_mov_from_dbr/ibr()

dbr[] and ibr[] are confused.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_virt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r f0f4cd789eaa -r 0badb22cde79 xen/arch/ia64/vmx/vmx_virt.c
--- a/xen/arch/ia64/vmx/vmx_virt.c      Fri Oct 12 14:10:02 2007 -0600
+++ b/xen/arch/ia64/vmx/vmx_virt.c      Fri Oct 12 14:11:57 2007 -0600
@@ -1141,7 +1141,7 @@ static IA64FAULT vmx_emul_mov_from_dbr(V
         return IA64_FAULT;
     }
 #endif  //CHECK_FAULT
-    res = vmx_vcpu_get_ibr(vcpu, r3, &r1);
+    res = vmx_vcpu_get_dbr(vcpu, r3, &r1);
     if (res != IA64_NO_FAULT)
         return res;
     return vcpu_set_gr(vcpu, inst.M43.r1, r1,0);
@@ -1181,7 +1181,7 @@ static IA64FAULT vmx_emul_mov_from_ibr(V
         return IA64_FAULT;
     }
 #endif  //CHECK_FAULT
-    res = vmx_vcpu_get_dbr(vcpu, r3, &r1);
+    res = vmx_vcpu_get_ibr(vcpu, r3, &r1);
     if (res != IA64_NO_FAULT)
         return res;
     return vcpu_set_gr(vcpu, inst.M43.r1, r1,0);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.