[libvirt] [PATCH] qemu: reject rather than hang on blockcommit of active layer
Eric Blake
eblake at redhat.com
Wed May 28 16:42:52 UTC 2014
On 05/28/2014 12:58 AM, Peter Krempa wrote:
> On 05/28/14 01:14, Eric Blake wrote:
>> qemu 2.0 added the ability to commit the active layer, but slightly
>> differently than what libvirt had been anticipating in its
>> implementation of the virDomainBlockCommit call. As a result, if
>> you attempt to do a 'virsh blockcommit $dom vda', qemu gets into a
>> state where it is waiting on libvirt to end the job, while libvirt
>> is waiting on qemu to end the job, and the guest is effectively
>> hung with regards to further commands for that block device.
>>
>> This patch should be committed before the 1.2.5 release, while
>> I continue to polish my full series for active commit support
>> for inclusion after the release.
>
> Agreed.
>
>>
>> src/qemu/qemu_driver.c | 9 +++++++++
>> 1 file changed, 9 insertions(+)
>>
>
> ACK,
Thanks; pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140528/d411e43f/attachment-0001.sig>
More information about the libvir-list
mailing list