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

Re: [Xen-users] usb_add to windows guest



 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


 


Rackspace

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