diff options
author | Sean Christopherson <seanjc@google.com> | 2024-11-28 04:33:45 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-12-19 01:19:40 +0300 |
commit | 01d1059d635a101a21f145284e8023b0ffa5f7ed (patch) | |
tree | 24552eca44a2cb19d28b20b657ec322434875804 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 59cb3acdb316130c7247a3d3a20d7d6e75e2896a (diff) | |
download | linux-01d1059d635a101a21f145284e8023b0ffa5f7ed.tar.xz |
KVM: x86: Zero out PV features cache when the CPUID leaf is not present
Clear KVM's PV feature cache prior when processing a new guest CPUID so
that KVM doesn't keep a stale cache entry if userspace does KVM_SET_CPUID2
multiple times, once with a PV features entry, and a second time without.
Fixes: 66570e966dd9 ("kvm: x86: only provide PV features if enabled in guest's CPUID")
Cc: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20241128013424.4096668-19-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