]> xenbits.xensource.com Git - people/aperard/libvirt.git/commit
qemu: hotplug: Refactor qemuDomainAttachDeviceDiskLiveInternal
authorPeter Krempa <pkrempa@redhat.com>
Tue, 25 Sep 2018 13:07:01 +0000 (15:07 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 8 Oct 2018 13:35:18 +0000 (15:35 +0200)
commit0d981bcefcb5defa27c208a976165c7eb9cda56a
tree1a73641f5e3aec3209e5fe5a22effda1a110c308
parenta1d3fc09f89d6b0c1dcc0e9527825500b5d33097
qemu: hotplug: Refactor qemuDomainAttachDeviceDiskLiveInternal

We now explicitly handle media change elsewhere so we can drop the
switch statement. This will also make it more intuitive once CDROM
device hotplug might be supported.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_hotplug.c