qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [libvirt] Transitioning from HMP to QMP for QEMU


From: Stefan Berger
Subject: Re: [Qemu-devel] [libvirt] Transitioning from HMP to QMP for QEMU
Date: Thu, 15 Dec 2011 08:31:39 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.15

On 12/15/2011 08:02 AM, Stefan Hajnoczi wrote:
What is the status of QEMU's transition from HMP to the QMP interface?

My current understanding is that QEMU provides new HMP commands for
humans, but HMP is being phased out as an API.  Management tools
should rely only on QMP for new commands.  That would mean new HMP
commands are not guaranteed to produce backwards-compatible output
because tools are not supposed to parse the output.

On the libvirt side, new QEMU features should only be supported via
the json monitor in the future (i.e. human monitor patches should not
be sent/merged)?  Existing HMP commands will still need the human
monitor support in order to handle old QEMU versions gracefully, but
I'm thinking about new commands only.

Does everyone agree on this?  I think this is an important discussion
if we want our management interface to get better and more consistent
in the future.

HMP is good for a human to interaction with Qemu, QMP mostly for a machine. At least that's my impression. If there are no new HMP commands hopefully there is an alternative for human interaction.

   Stefan




reply via email to

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