diff options
author | 2024-11-27 17:33:40 -0800 | |
---|---|---|
committer | 2024-12-18 14:19:35 -0800 | |
commit | 04cd8f8628d88da7839b1643db0bef8522c39254 (patch) | |
tree | 9fe34664714fea71ef3cc837e7b5560850bb2625 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Drop now-redundant MAXPHYADDR and GPA rsvd bits from vCPU creation (diff) | |
download | wireguard-linux-04cd8f8628d88da7839b1643db0bef8522c39254.tar.xz wireguard-linux-04cd8f8628d88da7839b1643db0bef8522c39254.zip |
KVM: x86: Disallow KVM_CAP_X86_DISABLE_EXITS after vCPU creation
Reject KVM_CAP_X86_DISABLE_EXITS if vCPUs have been created, as disabling
PAUSE/MWAIT/HLT exits after vCPUs have been created is broken and useless,
e.g. except for PAUSE on SVM, the relevant intercepts aren't updated after
vCPU creation. vCPUs may also end up with an inconsistent configuration
if exits are disabled between creation of multiple vCPUs.
Cc: Hou Wenlong <houwenlong.hwl@antgroup.com>
Link: https://lore.kernel.org/all/9227068821b275ac547eb2ede09ec65d2281fe07.1680179693.git.houwenlong.hwl@antgroup.com
Link: https://lore.kernel.org/all/20230121020738.2973-2-kechenl@nvidia.com
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Link: https://lore.kernel.org/r/20241128013424.4096668-14-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions