kvm: Add support for arch compat vm ioctls
authorAlexander Graf <graf@amazon.com>
Mon, 17 Oct 2022 18:45:39 +0000 (20:45 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 22 Oct 2022 09:15:23 +0000 (05:15 -0400)
commited51862f2f57cbce6fed2d4278cfe70a490899fd
tree2d5d8bcf85ac82de36beb002890d3e5fbb8a0b22
parent21e6075974c82808fc46ffc72384f2cc8074777f
kvm: Add support for arch compat vm ioctls

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>
include/linux/kvm_host.h
virt/kvm/kvm_main.c