[libvirt] [PATCH 07/13] qemu: Add hotpluging support for PCI devices on S390 guests

Cornelia Huck cohuck at redhat.com
Thu May 24 16:25:56 UTC 2018


On Thu, 24 May 2018 14:24:32 +0200
Xiao Feng Ren <renxiaof at linux.vnet.ibm.com> wrote:

> From: Yi Min Zhao <zyimin at linux.ibm.com>
> 
> This commit adds hotplug support for PCI devices on S390 guests.
> There's no need to implement hot unplug for zPCI as QEMU implements
> an unplug callback which will unplug both PCI and zPCI device in a
> cascaded way.
> Currently, the following PCI devices are supported:
>   virtio-blk-pci
>   virtio-net-pci
>   virtio-rng-pci
>   virtio-input-host-pci
>   virtio-keyboard-pci
>   virtio-mouse-pci
>   virtio-tablet-pci
>   vfio-pci
>   Shmem device
>   SCSIVhost device

Hm, how did you arrive at this list? Is it 'anything that uses msi-x'?

> 
> Signed-off-by: Yi Min Zhao <zyimin at linux.ibm.com>
> Reviewed-by: Boris Fiuczynski <fiuczy at linux.vnet.ibm.com>
> Reviewed-by: Stefan Zimmermann <stzi at linux.ibm.com>
> Reviewed-by: Bjoern Walk <bwalk at linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_hotplug.c | 175 +++++++++++++++++++++++++++++++++++++++++++-----
>  1 file changed, 158 insertions(+), 17 deletions(-)




More information about the libvir-list mailing list