qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v8 05/11] qapi: introduce new cmd option "allow-


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v8 05/11] qapi: introduce new cmd option "allow-preconfig"
Date: Fri, 11 May 2018 12:16:09 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 05/11/2018 11:51 AM, Igor Mammedov wrote:
New option will be used to allow commands, which are prepared/need
to run, during preconfig state. Other commands that should be able
to run in preconfig state, should be amended to not expect machine
in initialized state or deal with it.

For compatibility reasons, commands that don't use new flag
'allow-preconfig' explicitly are not permitted to run in
preconfig state but allowed in all other states like they used
to be.

Within this patch allow following commands in preconfig state:
    qmp_capabilities
    query-qmp-schema
    query-commands
    query-command-line-options
    query-status
    exit-preconfig
to allow qmp connection, basic introspection and moving to the next
state.

PS:
set-numa-node and query-hotpluggable-cpus will be enabled later in
a separate patches.

Signed-off-by: Igor Mammedov <address@hidden>
---
v8:
   - (Eric Blake <address@hidden>)
     * replace allowed-in-preconfig on allow-preconfig in commit msg
     * more wording fixes
     * make example in doc match QMP schema

Reviewed-by: Eric Blake <address@hidden>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]