[Qemu-devel] [PATCH v3 0/7] Reenable hmp for preconfig mode

Dr. David Alan Gilbert (git) posted 7 patches 5 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180608130846.22234-1-dgilbert@redhat.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test s390x passed
There is a newer version of this series
hmp-commands-info.hx | 12 ++++++++++++
hmp-commands.hx      | 17 +++++++++++++++++
hmp.c                |  7 +++++++
hmp.h                |  1 +
monitor.c            | 43 ++++++++++++++++++++++++++++++++++---------
qapi/char.json       |  3 ++-
qapi/misc.json       | 12 +++++++-----
7 files changed, 80 insertions(+), 15 deletions(-)
[Qemu-devel] [PATCH v3 0/7] Reenable hmp for preconfig mode
Posted by Dr. David Alan Gilbert (git) 5 years, 9 months ago
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

Reenable HMP in preconfig mode; it's pretty
easy and anyway I want to do a similar thing for OOB eventually.
We'll want to enable more commands in preconfig mode to make it
useful at some point.

Dave

v3
  Add Igor's patch to enable most of the same info commands in qmp

Dr. David Alan Gilbert (6):
  hmp: Add flag for preconfig commands
  hmp: Allow help on preconfig commands
  hmp: Restrict auto-complete in preconfig
  hmp: Add info commands for preconfig
  hmp: add exit_preconfig
  hmp: Allow HMP in preconfig state again

Igor Mammedov (1):
  qmp: enable query-[chardev|version|name|uuid|iothreads|memdev]
    commands in preconfig state

 hmp-commands-info.hx | 12 ++++++++++++
 hmp-commands.hx      | 17 +++++++++++++++++
 hmp.c                |  7 +++++++
 hmp.h                |  1 +
 monitor.c            | 43 ++++++++++++++++++++++++++++++++++---------
 qapi/char.json       |  3 ++-
 qapi/misc.json       | 12 +++++++-----
 7 files changed, 80 insertions(+), 15 deletions(-)

-- 
2.17.0


Re: [Qemu-devel] [PATCH v3 0/7] Reenable hmp for preconfig mode
Posted by Markus Armbruster 5 years, 9 months ago
Let's also provide "quit", both in HMP and QMP.

Re: [Qemu-devel] [PATCH v3 0/7] Reenable hmp for preconfig mode
Posted by Dr. David Alan Gilbert 5 years, 9 months ago
* Markus Armbruster (armbru@redhat.com) wrote:
> Let's also provide "quit", both in HMP and QMP.

I tried enabling quit, but it fails with an incorrect
state transition.

Dave

--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

Re: [Qemu-devel] [PATCH v3 0/7] Reenable hmp for preconfig mode
Posted by Markus Armbruster 5 years, 9 months ago
"Dr. David Alan Gilbert" <dgilbert@redhat.com> writes:

> * Markus Armbruster (armbru@redhat.com) wrote:
>> Let's also provide "quit", both in HMP and QMP.
>
> I tried enabling quit, but it fails with an incorrect
> state transition.

Igor, this one's for you.

Re: [Qemu-devel] [PATCH v3 0/7] Reenable hmp for preconfig mode
Posted by Igor Mammedov 5 years, 9 months ago
On Mon, 11 Jun 2018 14:44:41 +0200
Markus Armbruster <armbru@redhat.com> wrote:

> "Dr. David Alan Gilbert" <dgilbert@redhat.com> writes:
> 
> > * Markus Armbruster (armbru@redhat.com) wrote:  
> >> Let's also provide "quit", both in HMP and QMP.  
> >
> > I tried enabling quit, but it fails with an incorrect
> > state transition.  
> 
> Igor, this one's for you.

I'll look into it