Re: [libvirt] [PATCH 4/6] qemu: Implement startupPolicy for USB passed through devices

2012-10-11 Thread Daniel P. Berrange
On Wed, Oct 10, 2012 at 10:39:53PM +0200, Jiri Denemark wrote: > On Wed, Oct 10, 2012 at 16:39:06 +0100, Daniel P. Berrange wrote: > > On Tue, Oct 09, 2012 at 02:13:25PM +0200, Jiri Denemark wrote: > > > > > > +virBufferAddLit(&buf, "usb-host"); > > > +if (!dev->missing) { > > > +v

Re: [libvirt] [PATCH 4/6] qemu: Implement startupPolicy for USB passed through devices

2012-10-10 Thread Jiri Denemark
On Wed, Oct 10, 2012 at 16:39:06 +0100, Daniel P. Berrange wrote: > On Tue, Oct 09, 2012 at 02:13:25PM +0200, Jiri Denemark wrote: > > > > +virBufferAddLit(&buf, "usb-host"); > > +if (!dev->missing) { > > +virBufferAsprintf(&buf, ",hostbus=%d,hostaddr=%d", > > +

Re: [libvirt] [PATCH 4/6] qemu: Implement startupPolicy for USB passed through devices

2012-10-10 Thread Daniel P. Berrange
On Tue, Oct 09, 2012 at 02:13:25PM +0200, Jiri Denemark wrote: > --- > src/qemu/qemu_cgroup.c | 2 ++ > src/qemu/qemu_command.c | 20 +++- > src/qemu/qemu_hostdev.c | 20 +++- > src/qemu/qemu_hostdev.h | 3 ++- > src/qemu/qemu_process.c | 2 +- > 5 files changed

[libvirt] [PATCH 4/6] qemu: Implement startupPolicy for USB passed through devices

2012-10-09 Thread Jiri Denemark
--- src/qemu/qemu_cgroup.c | 2 ++ src/qemu/qemu_command.c | 20 +++- src/qemu/qemu_hostdev.c | 20 +++- src/qemu/qemu_hostdev.h | 3 ++- src/qemu/qemu_process.c | 2 +- 5 files changed, 35 insertions(+), 12 deletions(-) diff --git a/src/qemu/qemu_cgroup.c b/sr