]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: block: Add helpers for hot-adding virStorageSource via blockdev
authorPeter Krempa <pkrempa@redhat.com>
Fri, 23 Feb 2018 11:59:13 +0000 (12:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 May 2018 11:18:25 +0000 (13:18 +0200)
commitceb151b24b301bdabb9e4e173bae3b2b600e3ea4
tree3bed48249edb4b30c2aa6c4059874be604477b6f
parentd30fd1fc540ad7eb902eb87d49584392b551a93b
qemu: block: Add helpers for hot-adding virStorageSource via blockdev

These helpers add infrastructure which simplifies adding and rolling
back virStorageSources to a running qemu instance. Using of the helper
structure and separate functions allows for a much cleaner code in the
section dealing with the monitor.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_block.c
src/qemu/qemu_block.h