]> git.baikalelectronics.ru Git - kernel.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>
Thu, 4 Feb 2021 14:19:39 +0000 (14:19 +0000)
commita19fb1ccaf41c3247a2a8ad981668e621358d34e
treec1935c4972aa6529df3092060ca6a2f02faae903
parent875a2a31ad592ebe9f4eb1a2b4920da8e20e2dc9
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]