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

[Xen-changelog] [xen-unstable] vmxassist: Fix some copy-and-paste mistakes in vmx_check_descriptor()



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1180010561 -3600
# Node ID 7ff65f88880460832da3236d3c82242df5a576b9
# Parent  36959baf05c00329c2a270ff4de7edf0bc0ec3eb
vmxassist: Fix some copy-and-paste mistakes in vmx_check_descriptor()
Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
 xen/arch/x86/hvm/vmx/vmx.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff -r 36959baf05c0 -r 7ff65f888804 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Thu May 24 13:42:16 2007 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Thu May 24 13:42:41 2007 +0100
@@ -1517,14 +1517,14 @@ static int vmx_check_descriptor(int long
         limit_field = GUEST_FS_LIMIT;
         break;
     case x86_seg_gs:
-        ar_field = GUEST_FS_AR_BYTES;
-        base_field = GUEST_FS_BASE;
-        limit_field = GUEST_FS_LIMIT;
-        break;
-    case x86_seg_ss:
         ar_field = GUEST_GS_AR_BYTES;
         base_field = GUEST_GS_BASE;
         limit_field = GUEST_GS_LIMIT;
+        break;
+    case x86_seg_ss:
+        ar_field = GUEST_SS_AR_BYTES;
+        base_field = GUEST_SS_BASE;
+        limit_field = GUEST_SS_LIMIT;
         break;
     default:
         BUG();

_______________________________________________
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®.