Re: [libvirt] [PATCH 3/6] qemu: Add option to treat missing USB devices as success

2012-10-11 Thread Jiri Denemark
On Thu, Oct 11, 2012 at 14:42:07 +0100, Daniel P. Berrange wrote: > On Thu, Oct 11, 2012 at 03:35:27PM +0200, Jiri Denemark wrote: > > On Wed, Oct 10, 2012 at 16:35:05 +0100, Daniel P. Berrange wrote: > > > > > > I was wondering if we should actually expose this in the > > > XML, as a read-only at

Re: [libvirt] [PATCH 3/6] qemu: Add option to treat missing USB devices as success

2012-10-11 Thread Daniel P. Berrange
On Thu, Oct 11, 2012 at 03:35:27PM +0200, Jiri Denemark wrote: > On Wed, Oct 10, 2012 at 16:35:05 +0100, Daniel P. Berrange wrote: > > On Tue, Oct 09, 2012 at 02:13:24PM +0200, Jiri Denemark wrote: > > > diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h > > > index fa5d1f4..3cb1193 10064

Re: [libvirt] [PATCH 3/6] qemu: Add option to treat missing USB devices as success

2012-10-11 Thread Jiri Denemark
On Wed, Oct 10, 2012 at 16:35:05 +0100, Daniel P. Berrange wrote: > On Tue, Oct 09, 2012 at 02:13:24PM +0200, Jiri Denemark wrote: > > diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h > > index fa5d1f4..3cb1193 100644 > > --- a/src/conf/domain_conf.h > > +++ b/src/conf/domain_conf.h > >

Re: [libvirt] [PATCH 3/6] qemu: Add option to treat missing USB devices as success

2012-10-10 Thread Daniel P. Berrange
On Tue, Oct 09, 2012 at 02:13:24PM +0200, Jiri Denemark wrote: > All USB device lookup functions emit an error when they cannot find the > requested device. With this patch, their caller can choose if a missing > device is an error or normal condition. > --- > src/conf/domain_conf.h | 1

[libvirt] [PATCH 3/6] qemu: Add option to treat missing USB devices as success

2012-10-09 Thread Jiri Denemark
All USB device lookup functions emit an error when they cannot find the requested device. With this patch, their caller can choose if a missing device is an error or normal condition. --- src/conf/domain_conf.h | 1 + src/qemu/qemu_hostdev.c | 57 -- src/q