diff options
| -rw-r--r-- | arch/x86/kvm/svm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 183ddb235fb4..a654372efea1 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
| @@ -1807,7 +1807,7 @@ static void svm_get_segment(struct kvm_vcpu *vcpu, | |||
| 1807 | * AMD's VMCB does not have an explicit unusable field, so emulate it | 1807 | * AMD's VMCB does not have an explicit unusable field, so emulate it |
| 1808 | * for cross vendor migration purposes by "not present" | 1808 | * for cross vendor migration purposes by "not present" |
| 1809 | */ | 1809 | */ |
| 1810 | var->unusable = !var->present || (var->type == 0); | 1810 | var->unusable = !var->present; |
| 1811 | 1811 | ||
| 1812 | switch (seg) { | 1812 | switch (seg) { |
| 1813 | case VCPU_SREG_TR: | 1813 | case VCPU_SREG_TR: |
