Re: USB redirection support

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

 



On Fri, Apr 6, 2012 at 2:51 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> This patch series adds the needed classes for apps to be able to
> use USB redirection. I've followed
> http://hansdegoede.livejournal.com/11084.html and added all the API needed
> to be able to get the same XML. However, I'm not 100% sure all these
> attributes are required, in particular the various addresses.

You only need to specify the startport. (ie, look at how it's
implemented in python-virtinst)

This is the expected XML

    <controller type='usb' index='0' model='ich9-ehci1'/>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
    </controller>

I would add a convenience function to add these controllers (in
python-virtinst: add_usb_ich9_controllers)

regards

-- 
Marc-André Lureau

--
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]