[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH v3 13/17] monitor: Allow to exclude commands
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] Re: [PATCH v3 13/17] monitor: Allow to exclude commands from QMP |
Date: |
Sat, 29 May 2010 10:33:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Markus Armbruster wrote:
> Luiz Capitulino <address@hidden> writes:
>
>> On Sun, 23 May 2010 12:59:26 +0200
>> Jan Kiszka <address@hidden> wrote:
>>
>>> From: Jan Kiszka <address@hidden>
>>>
>>> Ported commands that are marked 'user_only' will not be considered for
>>> QMP monitor sessions. This allows to implement new commands that do not
>>> (yet) provide a sufficiently stable interface for QMP use (e.g.
>>> device_show).
>> This is fine for me, but two things I've been wondering:
>>
>> 1. Isn't a 'flags' struct member better? So that we can do (in the
>> qemu-monitor.hx entry):
>>
>> .flags = MONITOR_USER_ONLY | MONITOR_HANDLER_ASYNC,
>>
>> I'm not suggesting this is an async handler, just exemplifying multiple
>> flags.
>
> We also have at least one command that makes only sense in QMP:
> qmp_capabilities. Maybe we could use separate flags controlling command
> availability in human monitor and QMP.
Sounds reasonable. Then I think I will lay the ground for this by
introducing flags already in this patch. A v4 run is required anyway.
Jan
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3 11/17] Add QBuffer, (continued)
- [Qemu-devel] [PATCH v3 11/17] Add QBuffer, Jan Kiszka, 2010/05/23
- [Qemu-devel] [PATCH v3 07/17] qdev: Push QMP mode checks into qbus_list_bus/dev, Jan Kiszka, 2010/05/23
- [Qemu-devel] [PATCH v3 08/17] monitor: Add completion for qdev paths, Jan Kiszka, 2010/05/23
- [Qemu-devel] [PATCH v3 09/17] Add base64 encoder/decoder, Jan Kiszka, 2010/05/23
- [Qemu-devel] [PATCH v3 15/17] QMP: Teach basic capability negotiation to python example, Jan Kiszka, 2010/05/23
- [Qemu-devel] [PATCH v3 13/17] monitor: Allow to exclude commands from QMP, Jan Kiszka, 2010/05/23
[Qemu-devel] [PATCH v3 12/17] monitor: return length of printed string via monitor_[v]printf, Jan Kiszka, 2010/05/23
[Qemu-devel] [PATCH v3 16/17] QMP: Fix python helper /wrt long return strings, Jan Kiszka, 2010/05/23
[Qemu-devel] [PATCH v3 10/17] QMP: Reserve namespace for complex object classes, Jan Kiszka, 2010/05/23
[Qemu-devel] [PATCH v3 14/17] monitor: Add basic device state visualization, Jan Kiszka, 2010/05/23
[Qemu-devel] [PATCH v3 17/17] QMP: Add support for buffer class to qmp python helper, Jan Kiszka, 2010/05/23