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

Re: [Xen-users] How do you give USB to a Windows domU?



On Windows HVMs, the "usbdevice=tablet" takes up the one USB device that  you 
can forward through to the domU.  So, you have to disable that, then you can 
forward through a usb device.  You can use "usbdevice=host:xxx.yyy" or 
"usbdevice=host:aaaa:bbbb" - in the first case, it's the bus location where the 
device is plugged in; in the second case it's the vendor ID and device ID of 
the USB device.

-Nick

>>> On 2009/10/30 at 11:26, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:
> I have xen 3.2.x running on sles10sp2 dom0. I have a domU that I need to
> give access to a usb port for a usb hardware key. I'd also like to
> restrict it to only this domU having that usb port. 
> 
> So I have a test Vista domU. When I look at Device Manager under
> Universal Serial Bus Controllers it has:
> -Intel 82371SB PCI to USB Universal Host Controller
> -USB Root Hub
> 
> In the config for the domU usb=1.
>     (image
>         (hvm
>             (kernel /usr/lib/xen/boot/hvmloader)
>             (hpet 0)
>             (boot c)
>             (rtc_timeoffset -18000)
>             (pae 1)
>             (acpi 1)
>             (localtime 1)
>             (timer_mode 0)
>             (apic 1)
>             (device_model /usr/lib/xen/bin/qemu-dm)
>             (usb 1)
>             (notes (SUSPEND_CANCEL 1))
>         )
>     )
> Above is pulled from the xenstore using xm list -l <domname>
> 
> 
> Tried plugging a flash drive into all the usb ports, but it's not seen
> by the domU. 
> 
> 
> How do I enable usb in this domU?
> 
> And, how do I restrict it only to this domU?
> 
> Any assistance is appreciated.
> 
> Thanks,
> James



--------
This e-mail may contain confidential and privileged material for the sole use 
of the intended recipient.  If this email is not intended for you, or you are 
not responsible for the delivery of this message to the intended recipient, 
please note that this message may contain SEAKR Engineering (SEAKR) 
Privileged/Proprietary Information.  In such a case, you are strictly 
prohibited from downloading, photocopying, distributing or otherwise using this 
message, its contents or attachments in any way.  If you have received this 
message in error, please notify us immediately by replying to this e-mail and 
delete the message from your mailbox.  Information contained in this message 
that does not relate to the business of SEAKR is neither endorsed by nor 
attributable to SEAKR.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.