KVM: s390: add KVM_S390_ZPCI_OP to manage guest zPCI devices
Bugzilla: http://bugzilla.redhat.com/1871143 commit db1c875e Author: Matthew Rosato <mjrosato@linux.ibm.com> Date: Mon Jun 6 16:33:24 2022 -0400 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 <mjrosato@linux.ibm.com> Acked-by:
Pierre Morel <pmorel@linux.ibm.com> Reviewed-by:
Thomas Huth <thuth@redhat.com> Link: https://lore.kernel.org/r/20220606203325.110625-21-mjrosato@linux.ibm.com Signed-off-by:
Christian Borntraeger <borntraeger@linux.ibm.com> Conflicts: include/uapi/linux/kvm.h (different KVM_CAP_* list in downstream) Documentation/virt/kvm/api.rst (due to upstream merge d41b5e01) arch/s390/kvm/kvm-s390.c (due to upstream merge d41b5e01) Signed-off-by:
Thomas Huth <thuth@redhat.com>
Showing
- Documentation/virt/kvm/api.rst 46 additions, 0 deletionsDocumentation/virt/kvm/api.rst
- arch/s390/kvm/kvm-s390.c 16 additions, 0 deletionsarch/s390/kvm/kvm-s390.c
- arch/s390/kvm/pci.c 85 additions, 0 deletionsarch/s390/kvm/pci.c
- arch/s390/kvm/pci.h 2 additions, 0 deletionsarch/s390/kvm/pci.h
- include/uapi/linux/kvm.h 31 additions, 0 deletionsinclude/uapi/linux/kvm.h
Loading
Please register or sign in to comment