]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: Refactor/simplify PR managed addition to VM
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Jul 2018 12:14:17 +0000 (14:14 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Jul 2018 12:23:09 +0000 (14:23 +0200)
commit36e9b1ec5070b616ef1ac2ad92357c701160e046
tree878978f497b652d00eb02f2953c8c4c99335d588
parent8498a1e2221305c7fe9a8f338e94bd09fe152859
qemu: hotplug: Refactor/simplify PR managed addition to VM

Similarly to qemuDomainDiskRemoveManagedPR make it enter monitor on
its own so that it can be reused. Future users will be in the snapshot
code and in removable media change code.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hotplug.c