KVM: x86: declare Xen HVM shared info capability and add test case
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 4 Dec 2020 01:02:04 +0000 (01:02 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 4 Feb 2021 14:19:39 +0000 (14:19 +0000)
commit8d4e7e80838f45d3466d36d4fcb890424825faa9
treec1935c4972aa6529df3092060ca6a2f02faae903
parent40da8ccd724f7ca2f08550a46268bc3a91cc8869
KVM: x86: declare Xen HVM shared info capability and add test case

Instead of adding a plethora of new KVM_CAP_XEN_FOO capabilities, just
add bits to the return value of KVM_CAP_XEN_HVM.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/kvm/x86.c
include/uapi/linux/kvm.h
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c [new file with mode: 0644]