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

Re: [Xen-devel] [PATCH RESEND] tools/libxl: add support for emulated NVMe drives



Paul Durrant writes ("RE: [PATCH RESEND] tools/libxl: add support for emulated 
NVMe drives"):
> [Ian:]
> > If and when qemu supports multiple namespaces, how will this be
> > specified ?
> 
> I'd guess a vdev of the form nvmeXnY would follow convention.

Right.  Sorry, I was unclear.  I meant here:

 +    1 << 28 | disk << 8                  nvme, all disks, whole disk only

Maybe we should leave some room in this bit pattern.  If we do that
then guests only need to be told about this once, even if we support
nvme0n2 or whatever later, and also we don't need to use more
numbering space.


Oh, wait, I have just noticed that you have reused an entry in this
table!

       1 << 28 | disk << 8 | partition   xvd, disks or partitions 16 onwards
...
> +    1 << 28 | disk << 8               nvme, all disks, whole disk only

(I didn't spot this before because the patch didn't contain the first
of those two lines as context.)


Ian.

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

 


Rackspace

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