ia64/xen-unstable

changeset 15203:7ff65f888804

vmxassist: Fix some copy-and-paste mistakes in vmx_check_descriptor()
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
author kfraser@localhost.localdomain
date Thu May 24 13:42:41 2007 +0100 (2007-05-24)
parents 36959baf05c0
children 8fcefab1d63b
files xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Thu May 24 13:42:16 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Thu May 24 13:42:41 2007 +0100
     1.3 @@ -1517,15 +1517,15 @@ static int vmx_check_descriptor(int long
     1.4          limit_field = GUEST_FS_LIMIT;
     1.5          break;
     1.6      case x86_seg_gs:
     1.7 -        ar_field = GUEST_FS_AR_BYTES;
     1.8 -        base_field = GUEST_FS_BASE;
     1.9 -        limit_field = GUEST_FS_LIMIT;
    1.10 -        break;
    1.11 -    case x86_seg_ss:
    1.12          ar_field = GUEST_GS_AR_BYTES;
    1.13          base_field = GUEST_GS_BASE;
    1.14          limit_field = GUEST_GS_LIMIT;
    1.15          break;
    1.16 +    case x86_seg_ss:
    1.17 +        ar_field = GUEST_SS_AR_BYTES;
    1.18 +        base_field = GUEST_SS_BASE;
    1.19 +        limit_field = GUEST_SS_LIMIT;
    1.20 +        break;
    1.21      default:
    1.22          BUG();
    1.23          return 0;