diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-17 10:34:29 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-23 09:04:56 -0400 |
commit | 25091990ef289a5962b5bddd8c68de3f691c9e3c (patch) | |
tree | a49618b33c66b0ded13167ba6f01bc7af8f7ea35 /arch/x86/kvm/x86.c | |
parent | 56083bdf67c78030f11cdaed5b2b54959a329b02 (diff) | |
download | lwn-25091990ef289a5962b5bddd8c68de3f691c9e3c.tar.gz lwn-25091990ef289a5962b5bddd8c68de3f691c9e3c.zip |
KVM: eVMCS: check if nesting is enabled
In the next patch nested_get_evmcs_version will be always set in kvm_x86_ops for
VMX, even if nesting is disabled. Therefore, check whether VMX (aka nesting)
is available in the function, the caller will not do the check anymore.
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions