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] xen hvm usb problem

To: Dima Tisnek <dimaqq@xxxxxxxxx>
Subject: Re: [Xen-users] xen hvm usb problem
From: jun hu <todaygood@xxxxxxxxx>
Date: Tue, 11 Oct 2011 22:50:21 +0800
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx, Erik Lind <zod@xxxxxxxxxxxxx>
Delivery-date: Tue, 11 Oct 2011 07:51:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bqzVTtL71yW8qyMYKaOU5ae2419H7Vco+VQSmQjuQvU=; b=gmMS2fncWNYgJNma1tAarsNr66b3keU15qwZKlVWIDOYklMBB8tSZRoGitwQBbgSic 2QiApUDjVj5DIxVjsWPcc+EPp4rML8LY+XrBgBLBUOSgbZVGaVg1MNPduISj2qeDCjdS tNBQgPY85WGsAYHxpFFau1f/zhtvozsO1h4qo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAGGBzXKx3wBw5rSv5H1cMrDJQjc9wX+4Es+2Zbx1VfMFPSA_tA@xxxxxxxxxxxxxx>
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: <4E90E33B.8010201@xxxxxxxxxxx> <4E90EDD0.9090008@xxxxxxxxx> <CAGGBzXKwHyoayEx7CmYCGbGU35XUR77z6+sR-yyFoFCtsX2SoQ@xxxxxxxxxxxxxx> <4E918E0C.5050005@xxxxxxxxxxxxx> <CAGGBzXLqLUs0ajGZFVpsuuLW+YhcS_+3j4KdagP_BBqiYnttVw@xxxxxxxxxxxxxx> <4E9199F4.9050005@xxxxxxxxxxxxx> <CAGGBzXKx3wBw5rSv5H1cMrDJQjc9wX+4Es+2Zbx1VfMFPSA_tA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have try xen 4.0  ,dom0 kernel 2.6.32 

xm  usb-attach   can't find usb disk in domu 

kernel 3.1 ,I didn't try. 

I expect usb will   works well .

2011/10/9 Dima Tisnek <dimaqq@xxxxxxxxx>
That's very good to hear, I didn't try kernel 3.1rc as kernel.org
downloads are still down, I guess usbback must have landed and works
;-)

On 9 October 2011 15:56, Erik Lind <zod@xxxxxxxxxxxxx> wrote:
> That may or may not be correct, I do not know. However I do know that I have
> successfully done usb passthrough from 3.1-rc3 kernel (Dom0) to a windows 7
> DomU, without any patches which I guess mean that the legacy passthrough
> option work?
> (It is possible using the xl tool chain as well either in the config file or
> in the console (not not from the normal cli))
>
> /Erik
>
>
> On 10/09/2011 02:14 PM, Dima Tisnek wrote:
>>
>> my understanding is that after pvops switch (landing xen in linux
>> kernel, perhaps coinsides with xen3->xen4?) usbback module is not
>> implemented, at least in vanilla kernel 3.0.4 or Konrad's git 2.6.xx.
>>
>> xl tools don't support usb yet either. The easiest to try is to play
>> with xm tools:
>>
>> manually unbind usb device from whatever module/driver in dom0 (opt)
>> xm usb list assignable devices (if not shown, try above)
>> try xm usb-attach
>> if you get an error, it basically means your dom0 kernel does not have
>> usbback.
>>
>> you can also check /proc/config.gz
>>
>> d.
>>
>> On 9 October 2011 15:05, Erik Lind<zod@xxxxxxxxxxxxx>  wrote:
>>>
>>> Hi
>>>
>>> Well normal usb 1.1 passthrough should be supported but it depends on
>>> device
>>>  according to:
>>> http://wiki.xen.org/xenwiki/XenUSBPassthrough
>>>
>>> For pvusb support I guess it is correct that the dom0 kernel has to
>>> support
>>> it and the DomU OS of course.
>>>
>>> Perhaps you should try the pvusb passthrough or test with some other usb
>>> device to see if it is device dependent or not?
>>>
>>> /Erik
>>>
>>> On 10/09/2011 12:16 PM, Dima Tisnek wrote:
>>>>
>>>> it could be that your xen/qemu/dom0 version doesn't support usbback
>>>> (hiding usb from dom0), that is the case e.g. with xen 4.1.1 and linux
>>>> 3.0 and dom0
>>>>
>>>>
>>>> On 9 October 2011 03:41, Gmail<todaygood@xxxxxxxxx>    wrote:
>>>>>
>>>>> xen hvm
>>>>>
>>>>> guest os:  windows xp  or SLES Linux 11
>>>>>
>>>>> in dom0 , lsusb can find usb device .
>>>>> by using  add usbdevice="host:vendorID:productID" in windowsxp.cfg or
>>>>> sles11.cfg
>>>>>
>>>>> 1)in windows xp ,I can't find any usb device
>>>>> 2)in SLES Linux11 ,can't find any usb device  either.
>>>>>
>>>>> What can I do for finding usb device?  Please help me .
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Xen-users mailing list
>>>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>>>> http://lists.xensource.com/xen-users
>>>>>
>>>> _______________________________________________
>>>> Xen-users mailing list
>>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>>> http://lists.xensource.com/xen-users
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users
>>>
>
>

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