kvm: Add support for arch compat vm ioctls
authorAlexander Graf <graf@amazon.com>
Mon, 17 Oct 2022 18:45:39 +0000 (20:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Oct 2022 08:12:54 +0000 (10:12 +0200)
commit5bf2fda26a720305ce4cfb96a15dd404475e01a2
tree83a75065b651ca90d42b0d39b79cf1f15cde7664
parent112a005d1ded04a4b41b6d01833cc0bda90625cc
kvm: Add support for arch compat vm ioctls

commit ed51862f2f57cbce6fed2d4278cfe70a490899fd upstream.

We will introduce the first architecture specific compat vm ioctl in the
next patch. Add all necessary boilerplate to allow architectures to
override compat vm ioctls when necessary.

Signed-off-by: Alexander Graf <graf@amazon.com>
Message-Id: <20221017184541.2658-2-graf@amazon.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/kvm_host.h
virt/kvm/kvm_main.c