diff options
author | Yu Zhang <yu.c.zhang@linux.intel.com> | 2022-11-09 15:54:13 +0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-02-07 01:51:19 +0000 |
commit | 496c917b0989a7a20f9804de14ab2b3cbd6747a1 (patch) | |
tree | 2aabaedac49d529e999e3a09c3cc1a0aeabaece8 /drivers/scsi | |
parent | 41acdd41973548aec573381e1166b5a388708d5b (diff) |
KVM: nVMX: Simplify the setting of SECONDARY_EXEC_ENABLE_VMFUNC for nested.
Values of base settings for nested proc-based VM-Execution control MSR come
from the ones for non-nested. And for SECONDARY_EXEC_ENABLE_VMFUNC flag,
KVM currently a) first mask off it from vmcs_conf->cpu_based_2nd_exec_ctrl;
b) then check it against the same source; c) and reset it again if host has
it.
So just simplify this, by not masking off SECONDARY_EXEC_ENABLE_VMFUNC in
the first place.
No functional change.
Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com>
Link: https://lore.kernel.org/r/20221109075413.1405803-3-yu.c.zhang@linux.intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions