]> 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, 4 Jan 2021 16:18:29 +0000 (16:18 +0000)
commit7cfbb60ee8147ea4507af5dc1274128bcc8edb29
tree540e77cae0e133e60cfee55abfd3e1bd102a7082
parent11c6b1f2772d320f9992dfcd4bf8a238486f4629
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]