]> xenbits.xensource.com Git - libvirt.git/commit
S390: Add hotplug support for s390 virtio devices
authorJ.B. Joret <jb@linux.vnet.ibm.com>
Tue, 5 Mar 2013 15:44:22 +0000 (16:44 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 14 Mar 2013 00:13:09 +0000 (18:13 -0600)
commitf946462e14ac036357b7c11ce5c23f94a3ee4e49
treedc27f1a44ec9d13087a115c37a995a7ab6649187
parent608512b24a89d9865e402905b2dbbfd1c8a0e83e
S390: Add hotplug support for s390 virtio devices

We didn't yet expose the virtio device attach and detach functionality
for s390 domains as the device hotplug was very limited with the old
virtio-s390 bus. With the CCW bus there's full hotplug support for
virtio devices in QEMU, so we are adding this to libvirt too.

Since the virtio hotplug isn't limited to PCI anymore, we change the
function names from xxxPCIyyy to xxxVirtioyyy, where we handle all
three virtio bus types.

Signed-off-by: J.B. Joret <jb@linux.vnet.ibm.com>
Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_hotplug.h