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: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file
Date: Wed, 24 Jun 2009 13:54:41 +0100
User-agent: Mutt/1.4.1i

On Wed, Jun 24, 2009 at 01:32:12PM +0100, James wrote:
> > It depends what you mean by 'dbus' here. I don't think managing QEMU over
> > the dbus bus provides the right architecture - I don't think you want
> > every QEMU appearing on the bus.  5B You could do direct peer-to-peer comms
> > so you're just using libdbus for message encapsulation / processing, but
> > there's not really much above XDR. XDR is nice because its a portable
> > library that works on any OS, including OS-X and WIndows, and solely
> > concerns itself with data encoding, not data transport.  
> 
> That leaves the rendezvous, and security issues to be re-invented wheels,
> you could use SUNRPC and XDR. That has an excellent IDL. 
> 
> I don't see why you wouldn't want it on the 'bus', and more than you'd want it
> bound to a tcp port on localhost. It would make things a lot simpler: 
> something
> like a little command line utility to connect a CDROM or ISO image to a Qemu
> instance which would be identified by some uuid or name would be very easy to
> implement. 

This is exactly why I don't want it on the bus. I don't think the monitor
interface is the general end-developer/user administrative interface. It
is a control channel by which a mgmt tool will control QEMU, with the mgmt
tool providing the end-developer/user admin interface. If someone wants
to write a management app that controls QEMU instances and exposes an
API on dbus that's fine, but the individual QEMU instances should not be
directly exposed for use.


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




reply via email to

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