diff options
author | Matthew Rosato <[email protected]> | 2022-06-06 16:33:24 -0400 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2022-07-11 09:54:38 +0200 |
commit | db1c875e0539518e3d5fe9876ef50975cf4476bb (patch) | |
tree | e6e24c820d1c4b18cf340d554da0fbbb1eb80f56 /arch/s390/kvm/pci.h | |
parent | ba6090ff8ae01b41288be87ed9f6bed3d8cf5961 (diff) |
KVM: s390: add KVM_S390_ZPCI_OP to manage guest zPCI devices
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 <[email protected]>
Acked-by: Pierre Morel <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'arch/s390/kvm/pci.h')
-rw-r--r-- | arch/s390/kvm/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kvm/pci.h b/arch/s390/kvm/pci.h index fb2b91b76e0c..0351382e990f 100644 --- a/arch/s390/kvm/pci.h +++ b/arch/s390/kvm/pci.h @@ -59,6 +59,8 @@ void kvm_s390_pci_aen_exit(void); void kvm_s390_pci_init_list(struct kvm *kvm); void kvm_s390_pci_clear_list(struct kvm *kvm); +int kvm_s390_pci_zpci_op(struct kvm *kvm, struct kvm_s390_zpci_op *args); + int kvm_s390_pci_init(void); void kvm_s390_pci_exit(void); |