This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: "Xen List" <xen-users@xxxxxxxxxxxxxxxxxxx>, "James Pifer" <jep@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How do you give USB to a Windows domU?
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Fri, 30 Oct 2009 13:31:53 -0600
Delivery-date: Fri, 30 Oct 2009 12:33:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.


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

<Prev in Thread] Current Thread [Next in Thread>