]> www.infradead.org Git - users/dwmw2/linux.git/commit
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>
Mon, 11 Jan 2021 16:25:34 +0000 (16:25 +0000)
commitedf2e7370ccd231290c5ccd26da8f2fcfa384a19
tree07e486a20a2fb55f561f8af2fccb820693d774d3
parenta7d3f0457e9384bf6d7dd9e68596e90caa1337c9
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]