diff options
author | 2022-10-13 11:58:48 +0200 | |
---|---|---|
committer | 2022-12-29 15:33:32 -0500 | |
commit | 91a0b5478aab482d7133b8f069eb7d4590efcb7e (patch) | |
tree | 229a8d9f99457bebefc8896b09e447e1bda569c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: selftests: Convert hyperv_features test to using KVM_X86_CPU_FEATURE() (diff) | |
download | wireguard-linux-91a0b5478aab482d7133b8f069eb7d4590efcb7e.tar.xz wireguard-linux-91a0b5478aab482d7133b8f069eb7d4590efcb7e.zip |
KVM: selftests: Test that values written to Hyper-V MSRs are preserved
Enhance 'hyperv_features' selftest by adding a check that KVM
preserves values written to PV MSRs. Two MSRs are, however, 'special':
- HV_X64_MSR_EOI as it is a 'write-only' MSR,
- HV_X64_MSR_RESET as it always reads as '0'.
The later doesn't require any special handling right now because the
test never writes anything besides '0' to the MSR, leave a TODO node
about the fact.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221013095849.705943-7-vkuznets@redhat.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