]> xenbits.xensource.com Git - libvirt.git/commit
qemu: driver: Allow passing disk target as top image with block commit
authorPeter Krempa <pkrempa@redhat.com>
Wed, 17 May 2017 15:16:15 +0000 (17:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 17 May 2017 15:16:15 +0000 (17:16 +0200)
commited61e0b368859b25beb5259f84edd4910cd5218f
treead995c0f678776a1008ffb350139a8bc3be1a820
parentbb09afd5a2c5fc8b4869b27b0c723b544be810ae
qemu: driver: Allow passing disk target as top image with block commit

Since we allow active layer block commit the users are allowed to commit
the top of the chain (e.g. vda) into the backing image. The API would
not accept that parameter, as it tried to look up the image in the
backing chain.

Add the ability to use the top level image target name explicitly as the
top image of the block commit operation.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1451394
src/qemu/qemu_driver.c