[libvirt] FYI: qemu -M option deprecated upstream, removed from -help output

Eric Blake eblake at redhat.com
Tue Jul 26 16:02:51 UTC 2011


On 07/26/2011 02:53 AM, Paolo Bonzini wrote:
> On 07/25/2011 10:22 PM, Eric Blake wrote:
>>>>
>>>
>>> As long as QEMU supports -M ? it should not be a problem. The -M option
>>> is not scraped from -help output.
>>
>> If -M is going away, then libvirt _should_ scrape -help output to see
>> whether to use -M or -machine, rather than blindly using -M.
>
> -M going away will take a while (and will likely never happen).

While that may be true, we've already been bitten in the past by using 
undocumented commands.  See for example commit e997c268efd, where 
qemu-img silently quit supporting -e, but libvirt had been using it 
under the assumption that it would continue to work.

I'll work up a patch for this.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list