Re: [libvirt] [PATCH/RFC]: hostdev passthrough support take #2

2008-08-04 Thread Daniel P. Berrange
On Sun, Aug 03, 2008 at 01:41:28AM +0200, Guido G?nther wrote: Hi, attached is a second version. Changes are: * s/bus/subsystem/ * support hexadecimal and decimal attributes * introduce device and source elements. I decided to not drop vendor and product id into their own elements

Re: [libvirt] [PATCH/RFC]: hostdev passthrough support take #2

2008-08-04 Thread Guido Günther
On Mon, Aug 04, 2008 at 10:34:31AM +0100, Daniel P. Berrange wrote: On Sun, Aug 03, 2008 at 01:41:28AM +0200, Guido G?nther wrote: Hi, attached is a second version. Changes are: * s/bus/subsystem/ * support hexadecimal and decimal attributes * introduce device and source elements.

[libvirt] [PATCH/RFC]: hostdev passthrough support take #2

2008-08-02 Thread Guido Günther
Hi, attached is a second version. Changes are: * s/bus/subsystem/ * support hexadecimal and decimal attributes * introduce device and source elements. I decided to not drop vendor and product id into their own elements since the structure would then become very nested for no good reason. Some

Re: [libvirt] [PATCH/RFC]: hostdev passthrough support

2008-07-29 Thread Daniel P. Berrange
On Mon, Jul 28, 2008 at 09:26:57AM -0400, Daniel Veillard wrote: On Fri, Jul 25, 2008 at 04:17:30PM -0400, Guido Günther wrote: Hi, attached is some basic support for host device passthrough. It enables you to passthrough usb devices in qemu/kvm via: devices hostdev type='usb'

Re: [libvirt] [PATCH/RFC]: hostdev passthrough support

2008-07-29 Thread Daniel P. Berrange
On Tue, Jul 29, 2008 at 11:53:46AM +0100, Daniel P. Berrange wrote: This stuff is obviously going to have a correlation with the host device enumeration support I'd offered a design for a few months back. As such I'd like to try and keep a consistent XML format between the two. For reference

Re: [libvirt] [PATCH/RFC]: hostdev passthrough support

2008-07-29 Thread Daniel P. Berrange
On Fri, Jul 25, 2008 at 04:17:30PM -0400, Guido G?nther wrote: Hi, attached is some basic support for host device passthrough. It enables you to passthrough usb devices in qemu/kvm via: devices hostdev type='usb' vendor='0204' product='6025'/ hostdev type='usb' bus='001' device='007'/

Re: [libvirt] [PATCH/RFC]: hostdev passthrough support

2008-07-29 Thread Daniel Veillard
On Tue, Jul 29, 2008 at 11:56:18AM +0100, Daniel P. Berrange wrote: On Mon, Jul 28, 2008 at 09:26:57AM -0400, Daniel Veillard wrote: I also think we need to clarify the naming conventions, are numbers provided decimal, if yes then is an 0x hexadecimal version allowed too. I also see how a

Re: [libvirt] [PATCH/RFC]: hostdev passthrough support

2008-07-29 Thread Guido Günther
Hi Daniel, On Mon, Jul 28, 2008 at 09:26:57AM -0400, Daniel Veillard wrote: On Fri, Jul 25, 2008 at 04:17:30PM -0400, Guido Günther wrote: Hi, attached is some basic support for host device passthrough. It enables you to passthrough usb devices in qemu/kvm via: devices hostdev

[libvirt] [PATCH/RFC]: hostdev passthrough support

2008-07-25 Thread Guido Günther
Hi, attached is some basic support for host device passthrough. It enables you to passthrough usb devices in qemu/kvm via: devices hostdev type='usb' vendor='0204' product='6025'/ hostdev type='usb' bus='001' device='007'/ /devices I didn't implement unplug yet since this needs some