WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH 08/15] xen: Read and write the state of the VM in

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 08/15] xen: Read and write the state of the VM in xenstore
From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Date: Mon, 16 Aug 2010 14:13:05 +0200
Cc: Anthony Perard <anthony.perard@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "qemu-devel@xxxxxxxxxx" <qemu-devel@xxxxxxxxxx>, Anthony Liguori <anthony@xxxxxxxxxxxxx>
Delivery-date: Mon, 16 Aug 2010 05:14:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1008161210430.2545@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.DEB.2.00.1008121244200.2545@kaball-desktop> <1281622202-3453-8-git-send-email-stefano.stabellini@xxxxxxxxxxxxx> <4C65948C.8030707@xxxxxxxxxxxxx> <4C67F5E3.5070709@xxxxxxxxxx> <alpine.DEB.2.00.1008161210430.2545@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5
On 08/16/2010 01:15 PM, Stefano Stabellini wrote:
On Sun, 15 Aug 2010, Paolo Bonzini wrote:
On 08/13/2010 02:53 PM, Anthony Liguori wrote:
On 08/12/2010 09:09 AM, stefano.stabellini@xxxxxxxxxxxxx wrote:
From: Anthony PERARD<anthony.perard@xxxxxxxxxx>

Introduce functions to read and write the state of the VM in xenstore.

This basically creates a new management interface for QEMU via the
xenstore.

Our management interface is QMP. If you want to maintain compatibility,
you'll need to write a QMP ->  xenstore daemon that maps events
appropriately.

This would belong in xl/libxl.

Yes, but considering that we don't want a xenstore-based management
interface I would gladly do without the compatibility daemon.
We'll try to reduce all the xenstore interaction to the bare minimum,
and use QMP everywhere else.

Yes, I was just pointing out that you don't need a new compatibility daemon. Since xl is already daemonizing itself to handle on_crash and friends, it could also set up all the watches it cares about, and convert them to QMP commands. It's all more code that needs to be written of course, and boring stuff even. :)

Paolo

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>