diff options
| -rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index feab3d973b68..d14bb1235685 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
| @@ -3316,7 +3316,7 @@ static void vmx_set_segment(struct kvm_vcpu *vcpu, | |||
| 3316 | * unrestricted guest like Westmere to older host that don't have | 3316 | * unrestricted guest like Westmere to older host that don't have |
| 3317 | * unrestricted guest like Nehelem. | 3317 | * unrestricted guest like Nehelem. |
| 3318 | */ | 3318 | */ |
| 3319 | if (!enable_unrestricted_guest && vmx->rmode.vm86_active) { | 3319 | if (vmx->rmode.vm86_active) { |
| 3320 | switch (seg) { | 3320 | switch (seg) { |
| 3321 | case VCPU_SREG_CS: | 3321 | case VCPU_SREG_CS: |
| 3322 | vmcs_write32(GUEST_CS_AR_BYTES, 0xf3); | 3322 | vmcs_write32(GUEST_CS_AR_BYTES, 0xf3); |
