diff options
| author | 2022-08-30 15:37:27 +0200 | |
|---|---|---|
| committer | 2022-09-26 12:02:54 -0400 | |
| commit | ee087b4da022978a51fa3b363eea82c8bab8c3b5 (patch) | |
| tree | 08a146e4dc28b41ccf6542413dbb85506a2d7588 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: VMX: Don't toggle VM_ENTRY_IA32E_MODE for 32-bit kernels/KVM (diff) | |
| download | linux-dev-ee087b4da022978a51fa3b363eea82c8bab8c3b5.tar.xz linux-dev-ee087b4da022978a51fa3b363eea82c8bab8c3b5.zip | |
KVM: VMX: Extend VMX controls macro shenanigans
When VMX controls macros are used to set or clear a control bit, make
sure that this bit was checked in setup_vmcs_config() and thus is properly
reflected in vmcs_config.
Opportunistically drop pointless "< 0" check for adjust_vmx_controls()'s
return value.
No functional change intended.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220830133737.1539624-24-vkuznets@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
