KVM: VMX: introduce X2APIC_MSR macro
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Dec 2017 23:47:55 +0000 (00:47 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 16 Jan 2018 15:52:52 +0000 (16:52 +0100)
commitd7231e75f73f424068ad205358bd8ba6a7a2e113
treea432dfdf20e94cfed64bd56779d10151a2df1f2c
parentc992384bde84fb2f0318bdb4f6c710605dd7a217
KVM: VMX: introduce X2APIC_MSR macro

Remove duplicate expression in nested_vmx_prepare_msr_bitmap, and make
the register names clearer in hardware_setup.

Suggested-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[Resolved rebase conflict after removing Intel PT. - Radim]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c