qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 01/11] QMP: Introduce specification file


From: Avi Kivity
Subject: Re: [Qemu-devel] Re: [PATCH 01/11] QMP: Introduce specification file
Date: Tue, 23 Jun 2009 16:30:32 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 06/23/2009 04:12 PM, Anthony Liguori wrote:
Hi Luiz,

The specification looks pretty good.


+
+3.3.1 Server Greeting
+---------------------
+
+Sent when a new connection is opened.
+
+Format: + OK QEMU<version>  QMP<version>
+Example: + OK QEMU 0.10.50 QMP 0.1

Clients should never make decisions based on the qemu or qmp version. Rather, we should provide a facility to query the availability of features.

I agree, but I'd suggest leaving the QMP version in there for insurance purposes in case we really screw up and need to bump the version. In fact, having the client also negotiate the QMP version isn't a bad idea.

Agreed.

How would asynchronous commands work?

IMO, there aren't any. All commands are synchronous (but may cause events to be generated later).

Could you give an example of doing live migration through QMP?


migrate tcp:blah:4444
+OK don't you love us anymore?
* EVENT stopped (migration)
* EVENT migration completed


--
error compiling committee.c: too many arguments to function





reply via email to

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