Re: [Libvir] RFC: format for mapping host devices to guest

2007-07-19 Thread Daniel Veillard
On Thu, Jul 19, 2007 at 02:28:00PM +0100, Daniel P. Berrange wrote: > On Thu, Jul 19, 2007 at 06:17:29AM -0400, Daniel Veillard wrote: > > > > IMHO you should output both, then depending how you will reuse that XML > > fragment one or the other may be used, this could actually be one argument >

Re: [Libvir] RFC: format for mapping host devices to guest

2007-07-19 Thread Daniel P. Berrange
On Thu, Jul 19, 2007 at 06:17:29AM -0400, Daniel Veillard wrote: > On Thu, Jul 19, 2007 at 01:17:37AM +0100, Daniel P. Berrange wrote: > > So to attach a device: > > > > > > > > > > > > Or > > > > > > > > > > > > The first form is useful for live hotplug - where you

Re: [Libvir] RFC: format for mapping host devices to guest

2007-07-19 Thread Daniel Veillard
On Thu, Jul 19, 2007 at 01:17:37AM +0100, Daniel P. Berrange wrote: > So we need some form of element under the section per device to > map through. At minimum this will need the source device info. If we are > to support unplugging of USB devices in QEMU it is neccessary to have the > target devi

[Libvir] RFC: format for mapping host devices to guest

2007-07-18 Thread Daniel P. Berrange
I'm considering the problem of mapping host USB devices through to the guest as one of the 2 remaining bits of USB support needed (the other being the mapping disks through as USB mass storage). I have previously mentioned some ideas in this mail, though looking back on this I don't much like them