[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot |
Date: |
Tue, 22 Jan 2013 09:00:30 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 01/22/2013 08:52 AM, Amos Kong wrote:
>>>
>>> Libvirt will need to expose an attribute that lets the user control
>>> whether to use this new option; how do we probe via QMP whether the
>>> new
>>> -boot strict=on command-line option is available?
>>
>> Hi all,
>>
>> How about add new info/query command?
>>
>> (hmp) info strict-boot
>> on
>>
>> (qmp) {"execute": "query-strict-boot"}
>> {"return": {"state": true}}
>
> It might be not a good solution, I already updated qemu-options.hx,
> we can check help message to know if this new option is added or not.
Having libvirt probe the -help output is out of the question. We
already declared that for qemu 1.3 and beyond, ALL command line behavior
must ALSO be probe-able via QMP. I think Anthony had a trick for
testing for existence of various command line options without needing to
add a new query-strict-boot command, but I don't remember what that
trick was.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [Qemu PATCH] add a boot option to do strict boot, (continued)
- Re: [Qemu-devel] [Qemu PATCH] add a boot option to do strict boot, Gleb Natapov, 2013/01/09
- [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot, Amos Kong, 2013/01/09
- Re: [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot, Amos Kong, 2013/01/09
- Re: [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot, Amos Kong, 2013/01/22
- Re: [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot, Amos Kong, 2013/01/22
- Re: [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot,
Eric Blake <=
- Re: [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot, Anthony Liguori, 2013/01/22
- Re: [Qemu-devel] [RFC] introduce a general query-config cmd (was: [Qemu PATCH v2] add a boot option to do strict boot), Amos Kong, 2013/01/23
- Re: [Qemu-devel] [RFC] introduce a general query-config cmd, Markus Armbruster, 2013/01/23
- Re: [Qemu-devel] [RFC] introduce a general query-config cmd, Amos Kong, 2013/01/27