Re: [PATCH v9 20/21] KVM: s390: add KVM_S390_ZPCI_OP to manage guest zPCI devices

From: Thomas Huth
Date: Wed Jun 08 2022 - 03:08:06 EST


On 06/06/2022 22.33, Matthew Rosato wrote:
The KVM_S390_ZPCI_OP ioctl provides a mechanism for managing
hardware-assisted virtualization features for s390x zPCI passthrough.
Add the first 2 operations, which can be used to enable/disable
the specified device for Adapter Event Notification interpretation.

Signed-off-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx>
---
Documentation/virt/kvm/api.rst | 47 +++++++++++++++++++
arch/s390/kvm/kvm-s390.c | 16 +++++++
arch/s390/kvm/pci.c | 85 ++++++++++++++++++++++++++++++++++
arch/s390/kvm/pci.h | 2 +
include/uapi/linux/kvm.h | 31 +++++++++++++
5 files changed, 181 insertions(+)

Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>