WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] usb_add to windows guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] usb_add to windows guest
From: Daniel Gomes <dgomes@xxxxxxxxxxxxxxx>
Date: Wed, 13 Oct 2010 14:26:07 +0100
Delivery-date: Wed, 13 Oct 2010 06:29:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01B1FD55@trantor>
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>
References: <4CB5A382.40606@xxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01B1FD55@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4
 Hey James,

first of all, thanks for the really fast reply!

Regarding what you said, it was really too much for me hehe. I mean, I admin a Xen server and regularly add/delete Linux guests, but it's my first time with a Windows guest (and with USB) and, to be honest, I didn't even know what qemu was until I wiki'ed it right now lol.

That being said, could you please explain what you mean by "pass through the block device"? You mean smth like /dev/sdg? That obviously can't go in the "usb_add" command, so where shall I use that? Sorry for the ignorance...

Basically all I want is that the drive gets plugged in at some specific point (it can even be manually). I'm trying to make a "Windows Complete PC Restore" and according to some posts I read (after it failing a couple of times), it only works if the USB stick containing the backup image is inserted after the recovery program is started (go figure Windows out...). That is all I want (a one time thing), so any solution (no matter how "manual") would be great.

Thanks again,

On 10/13/2010 01:25 PM, James Harper wrote:
   Dear all,

I have been trying to connect a usb external disk to a Windows Server
2008 guest through Xen 3.2.
The current qemu based USB passthrough is USB 1.1, which is really bad
for performance, and also completely doesn't work with some disk
devices, although I'm not sure how the mapping between qemu usb 1.1 and
a physical usb 2.0 port comes into that.

Can you instead pass through the block device? With a bit of creative
udev scripting you could make the block device add and remove
automatically from the domu every time you plug it into the physical
machine.

I starting writing USB passthrough for my GPLPV drivers for Windows, and
while I got it working for some USB storage devices it's still full of
bugs and has probably suffered some bitrot since I last looked at it.

James


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

--
Daniel Gomes (SysAdmin)
dgomes@xxxxxxxxxxxxxxx
Ext. 3487 - 218419487

Instituto de Plasmas e Fusão Nuclear
Instituto Superior Técnico - UTL
Av. Rovisco Pais - 1049-001 Lisboa - Portugal


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

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