[libvirt] Re: [PATCH 02/12] Extend the virDomainDeviceAddress struture to allow USB addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 10, 2009 at 10:22:22PM +0000, Daniel P. Berrange wrote:
> Introduce a new structure
> 
>       struct _virDomainDeviceUSBAddress {
>         unsigned int bus;
>         unsigned int dev;
>       };
> 
> and plug that into virDomainDeviceAddress. Convert the
> host device USB config to use this new address struct.
> XML looks like
> 
>     <address type='usb' bus='007' dev='003'/>

I think I  will remove this particular patch. After investigating a
little more, it appears that 'dev' is not something you can ever
assign from the host. The guest OS assigns 'dev' on the fly when
it activates the USB device. We might be able to assign 'bus' from
the host, but QEMU doesn't currently allow it. We can always re-add
this patch later when needed.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]