Re: [Libvir] PATCH 1/2 QEMU driver - internal driver

2007-02-14 Thread Jim Meyering
"Daniel P. Berrange" <[EMAIL PROTECTED]> wrote: > The attached patch implements the library driver for QEMU. ... > +int qemuClose (virConnectPtr conn) { > +if (conn->handle != -1) { > +close(conn->handle); > +conn->handle = -1; > +} > +return 0; > +} Hi Dan, In follow

Re: [Libvir] PATCH 1/2 QEMU driver - internal driver

2007-02-13 Thread Daniel P. Berrange
On Tue, Feb 13, 2007 at 04:06:17PM -0500, Daniel Veillard wrote: > On Tue, Feb 13, 2007 at 07:03:42PM +, Daniel P. Berrange wrote: > > > +/* Block sending entire outgoing packet */ > > +while (outLeft) { > > +int got = write(conn->handle, out+outDone, outLeft); > > stylistic

Re: [Libvir] PATCH 1/2 QEMU driver - internal driver

2007-02-13 Thread Daniel Veillard
On Tue, Feb 13, 2007 at 07:03:42PM +, Daniel P. Berrange wrote: > The attached patch implements the library driver for QEMU. > > The driver is pretty much identical in style to the xen proxy driver. There > are two supported URLs: > >qemu:///session - a per-user (private) daemon.Can be r

[Libvir] PATCH 1/2 QEMU driver - internal driver

2007-02-13 Thread Daniel P. Berrange
The attached patch implements the library driver for QEMU. The driver is pretty much identical in style to the xen proxy driver. There are two supported URLs: qemu:///session - a per-user (private) daemon.Can be run by unprivileged users. Config files kept in $HOME/.qemu