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

Re: [Xen-users] pv-usb support in Xen 4.7


I used [4.6 vanilla kernel for dom0] and [4.6 kernel + patches described above https://lkml.org/lkml/2015/6/23/33  for domu].
I also downloaded and built Xen (tag RELEASE-4.7.0 with the most fresh qemu-xen-dir-remote -> branch upstream-tested with hash e66b05e9...60ed7a4d).
When running domu, USB controller successfully created. But when attaching USB mass storage device via:
xl usbdev-attach u hostbus=1 hostaddr=1 controller=0 port=1
command succeeded and
xl usb-list u
shows attached USB device, but this device not added in domu: "lsusb -v" shows that no any USB device connected to root hub.
Also dmesg in domu contains suspected lines:
xenbus_probe_frontend: Waiting for device to initialise: 25s, ...5s...
xenbus_probe_frontend: Timeout connecting to device: device/vusb/0 (local state 1, remote state 1)
Looks like backend and frontend not connected? The question is how to make them work? Or may be I need to use other sources of Xen/kernel frontend patches?

P. S. domu config file:
builder = "hvm"
name = "u"
memory = 2048
maxmem = 2048
vcpus = 2
serial = 'pty'
disk = ['phy:/home/xuser/xen/images/ubuntu_14.04_domu.img,sda,w','phy:/home/xuser/xen/images/u_kernel.img,sdb1,w']
sdl = 1
boot = "c"
usb = 0
usbctrl = [ "type=qusb" ]

Thanks in advance,

On Wed, Jul 20, 2016 at 11:55 AM, Juergen Gross <jgross@xxxxxxxx> wrote:
On 20/07/16 10:23, George Dunlap wrote:
> On Tue, Jul 19, 2016 at 12:38 PM, Nathan Brooks
> <nathan.h.brooks@xxxxxxxxx> wrote:
>> Hello all,
>> I read, that new Xen 4.7 release has pv-usb support. As I understand,
>> there're 2 backends available (pv and qusb). But I didn't success with any
>> of both. So, where can I get actual kernel backend/frontend module sources?
> Juergen, is there any documentation for how to get a functioning PVUSB
> backend up and running?

I'm not aware of any.

OTOH it's just about using a qemu version with the backend included.
qusb support was added to qemu upstream on June 13th 2016.


Xen-users mailing list



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