qemu-devel
[Top][All Lists]
Advanced

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

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


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file
Date: Tue, 23 Jun 2009 11:09:21 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Avi Kivity wrote:
I'd rather not do json.


Why not?

Because it's too much complexity at this level in the stack.

As they stand, I think the current patch set is very close to being mergable. I'd rather not go off on a new tangent.

It fulfils all are requirements and more. There's a C implementation available. We can concentrate on the commands and ignore the plumbing.

The same is true for XML-RPC, CIM, dbus, etc. RPC grow like weeds. In 5 years, it will be shocking that qemu uses jsonrpc instead of the next super-neat RPC protocol.

If we did a real RPC mechanism, I'd want to stick with something tried-and-true like XDR. But an RPC mechanism is not the monitor. If we were going to do that, there's no point in morphing the monitor into that.

What we're doing here is adding a computer-mode to the existing monitor. This will be easy for current apps to consume and for us to transition the code base to. It's a safe and incremental improvement.

I don't want to invent Xen-API here and go through that pain in QEMU.

--
Regards,

Anthony Liguori





reply via email to

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