From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [Bug] PVUSB, Ubuntu 12.04, Xen 4.1.2 Date: Wed, 29 May 2013 17:14:08 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Erwan PILLET , Konrad Rzeszutek Wilk Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, May 29, 2013 at 4:08 PM, Erwan PILLET wrote: > On 29 May 2013 15:25, George Dunlap wrote: >> >> On Wed, May 29, 2013 at 2:11 PM, Erwan PILLET >> wrote: >> > Hi everyone, >> > >> > I installed xen from packages on Ubuntu 12.04, getting the version 4.1.2 >> > . >> > I wanted to use pvusb which I understand was functional on this version >> > to >> > pass an USB hard drive to my DomU, but I only manage to get this error >> > trying to attach the device to a domain. >> > >> > It may also be worth mentionning that "xm usb-hc-destroy mydomu 0" >> > doesn't >> > have any effect, so it doesn't give back any error (I get one if I try >> > on an >> > unregistered devId) but don't remove the host controller. >> > >> > So should pvusb be fonctionnal on this version of xen/xm ? If yes, any >> > help >> > would be highly appreciated. >> >> PVUSB requires support both from the toolstack and from the dom0 >> kernel. I believe PVUSB is only available in "classic Xen" kernels >> such as those supported by SuSE; I'm pretty sure that Ubuntu does not >> have one. >> >> To see if usbback is present, you can do the following: >> >> ls /sys/bus/usb/drivers/usbback >> >> If it gives you an error, then the problem is that your Ubuntu dom0 >> kernel doesn't have PVUSB support. >> >> -George > > > > First, thanks for your help ! > Indeed, there is no such file on my hypervisor, so I guess this kernel > doesn't support PVUSB. > Do you know if there is a way to patch the kernel to include this feature ? I think there are some trees with PVUSB, but I don't think it's very reliable. Konrad will know more. -George