WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] vmxassist: Fix some copy-and-paste mistak

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] vmxassist: Fix some copy-and-paste mistakes in vmx_check_descriptor()
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Jun 2007 03:15:33 -0700
Delivery-date: Mon, 04 Jun 2007 03:16:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] vmxassist: Fix some copy-and-paste mistakes in vmx_check_descriptor(), Xen patchbot-unstable <=