OSDN Git Service

kvm: tests: Add test to verify MSR_IA32_XSS
authorAaron Lewis <aaronlewis@google.com>
Mon, 21 Oct 2019 23:30:28 +0000 (16:30 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 13:48:15 +0000 (15:48 +0200)
commitc90992bfb0804907402ab175b25b8a37cc3c31f2
treebaf25c0eca7baf4dee5f755c0707bb164dceaf01
parent52297436199dde85be557ee6bc779f5b96082f74
kvm: tests: Add test to verify MSR_IA32_XSS

Ensure that IA32_XSS appears in KVM_GET_MSR_INDEX_LIST if it can be set
to a non-zero value.

Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Change-Id: Ia2d644f69e2d6d8c27d7e0a7a45c2bf9c42bf5ff
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/lib/x86_64/processor.c
tools/testing/selftests/kvm/x86_64/xss_msr_test.c [new file with mode: 0644]