Re: [PATCH] qemu: better error message when block job can't succeed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/28/2014 10:28 PM, Michal Privoznik wrote:
> On 28.10.2014 15:31, Eric Blake wrote:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1140981 reports that
>> the qemu-kvm shipped as part of RHEL 7.0 intentionally cripples
>> block jobs by removing the 'block-stream' QMP command, but that
>> our probe for whether block jobs work was merely whether
>> 'block-job-cancel' exists.  Meanwhile, older qemu spelled the
>> two commands block_stream and block_job_cancel.  We know of no
>> qemu build that has block-stream while lacking block-job-cancel,
>> so it is easiest to change our witness to the command that
>> starts a job rather than ends one.  On RHEL, this results in
>> changing the message from an ugly:
>>
>>   error: Requested operation is not valid: Command 'block-stream' is
>> not found
>>
>> to a nicer:
>>
>>   error: unsupported configuration: block jobs not supported with this
>> qemu binary
>>

> 
> ACK and safe for the freeze.

Pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]