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

Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API



Jürgen Groß writes ("Re: [Xen-devel] [PATCH V4 3/7] libxl: add pvusb API"):
> On 06/16/2015 12:41 PM, Ian Jackson wrote:
> > Is the busid more stable in the face of plug/unplug ?  This is the
> > normal reason for a more path-like device specification.
...
> Unfortunately the busid isn't stable at least across reboots.

I see.

Presumably the busdev isn't either.  We need to be let users specify
something that _is_ stable, obviously.

On my netbook I have this kind of thing in /etc/fstab:

/dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0-part1 /media/usb1 
auto rw,user,noauto 0 0

Is a similar specification possible ?

> qemu does support specifying a USB device via <vendorId>:<productId>,
> which is stable even across reboots, but unfortunately it isn't
> guaranteed to be unique (you can have plugged in two devices of the
> same type).

Indeed.  That would also be a thing we should allow people to do.

AIUI some devices have serial numbers, which means you can distinguish
them ?

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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