]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainAttachDiskGeneric: Refactor rollback handling
authorPeter Krempa <pkrempa@redhat.com>
Wed, 12 May 2021 11:10:49 +0000 (13:10 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 24 May 2021 18:38:08 +0000 (20:38 +0200)
commit17ba0eb458a580d9f8712a6225708773e94d9e75
treec5a66bd8ae0a6cad5a82c5bcc0f9684b484883dd
parente5aa3b794392cba9d1dfa35c07fdaaba9e97dc5c
qemuDomainAttachDiskGeneric: Refactor rollback handling

Modify the rollback section to use its own monitor context so that we
can later split up the hotplug into multiple steps and move the
detachment of the extension device into the rollback section rather than
doing it inline.

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