KVM: VMX: align vmx->nested.nested_vmx_secondary_ctls_high to vmx->rdtscp_enabled
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Sep 2015 15:34:42 +0000 (17:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:38 +0000 (15:06 +0200)
commit8b97265a1516819d54c2d24b3874489a52f269d4
treeca9d95e974cc16472de502d5e5c8deda530c0d69
parent29541bb8f4a18b2939dea137315e1803b4617c8d
KVM: VMX: align vmx->nested.nested_vmx_secondary_ctls_high to vmx->rdtscp_enabled

The SECONDARY_EXEC_RDTSCP must be available iff RDTSCP is enabled in the
guest.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c