diff options
author | 2019-03-25 21:10:17 +0200 | |
---|---|---|
committer | 2019-04-16 15:37:34 +0200 | |
commit | 672ff6cff80ca43bf3258410d2b887036969df5f (patch) | |
tree | f0d20fbf2e1af6a187d742b9c67b448d3cca50a3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/kvm: move kvm_load/put_guest_xcr0 into atomic context (diff) | |
download | wireguard-linux-672ff6cff80ca43bf3258410d2b887036969df5f.tar.xz wireguard-linux-672ff6cff80ca43bf3258410d2b887036969df5f.zip |
KVM: x86: Raise #GP when guest vCPU do not support PMU
Before this change, reading a VMware pseduo PMC will succeed even when
PMU is not supported by guest. This can easily be seen by running
kvm-unit-test vmware_backdoors with "-cpu host,-pmu" option.
Reviewed-by: Mihai Carabas <mihai.carabas@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions