diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/vmx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index ddb49e34697b..229e2d06fa2a 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -1732,7 +1732,8 @@ static int init_rmode_tss(struct kvm *kvm) | |||
1732 | if (r < 0) | 1732 | if (r < 0) |
1733 | goto out; | 1733 | goto out; |
1734 | data = TSS_BASE_SIZE + TSS_REDIRECTION_SIZE; | 1734 | data = TSS_BASE_SIZE + TSS_REDIRECTION_SIZE; |
1735 | r = kvm_write_guest_page(kvm, fn++, &data, 0x66, sizeof(u16)); | 1735 | r = kvm_write_guest_page(kvm, fn++, &data, |
1736 | TSS_IOPB_BASE_OFFSET, sizeof(u16)); | ||
1736 | if (r < 0) | 1737 | if (r < 0) |
1737 | goto out; | 1738 | goto out; |
1738 | r = kvm_clear_guest_page(kvm, fn++, 0, PAGE_SIZE); | 1739 | r = kvm_clear_guest_page(kvm, fn++, 0, PAGE_SIZE); |