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

2017-03-23 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 22 March 2017 17:48 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org; Wei Liu > Subject: RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe > drives > > Paul Durrant writes ("RE: [PATCH

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

2017-03-22 Thread Ian Jackson
Paul Durrant writes ("RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe drives"): > > I guess that was with xapi rather than libxl ? > > Nope. It was libxl. That's weird. You specify it as xvda in the config file ? > Windows PV drivers treat hd*, sd* and xvd* numbering in the same

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

2017-03-22 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 22 March 2017 17:32 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org; Wei Liu > Subject: RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe > drives > > Paul Durrant writes ("RE: [PATCH

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

2017-03-22 Thread Ian Jackson
Paul Durrant writes ("RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe drives"): > This is my VM: > > root@brixham:~# xenstore-ls "/libxl/3" > device = "" > vbd = "" > 51712 = "" ... >params = "qcow2:/root/winrs2-pv1.qcow2" > No problem using xvda... still ends up as IDE prim

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

2017-03-22 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 22 March 2017 17:03 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org; Wei Liu > Subject: RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe > drives > > Paul Durrant writes ("RE: [PATCH

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

2017-03-22 Thread Ian Jackson
Paul Durrant writes ("RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe drives"): > > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > > That's not my point. The purpose of this table is to advise guests > > what the conventional in-guest device name ought to be for a certain >

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

2017-03-22 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Paul Durrant > Sent: 22 March 2017 16:32 > To: Ian Jackson > Cc: xen-de...@lists.xenproject.org; Wei Liu > Subject: Re: [Xen-devel] [PATCH RESEND] tools/libxl: add suppor

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

2017-03-22 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 22 March 2017 16:03 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org; Wei Liu > Subject: RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe > drives > > Paul Durrant writes ("RE: [PATCH

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

2017-03-22 Thread Ian Jackson
Paul Durrant writes ("RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe drives"): > > 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 <

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

2017-03-22 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 22 March 2017 15:02 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org; Wei Liu > Subject: RE: [PATCH RESEND] tools/libxl: add support for emulated NVMe > drives > > Paul Durrant writes ("RE: [PATCH

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

2017-03-22 Thread Ian Jackson
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

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

2017-03-22 Thread Paul Durrant
> -Original Message- > From: Ian Jackson [mailto:ian.jack...@eu.citrix.com] > Sent: 22 March 2017 14:17 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org; Wei Liu > Subject: Re: [PATCH RESEND] tools/libxl: add support for emulated NVMe > drives > > Paul Durrant writes ("[PATCH RESE

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

2017-03-22 Thread Ian Jackson
Paul Durrant writes ("[PATCH RESEND] tools/libxl: add support for emulated NVMe drives"): > NOTE: QEMU's emulation only supports a single NVMe namespace, so the > vdev syntax does not include specification of a namespace. > Also, current versions of SeaBIOS do not support booting from

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

2017-03-22 Thread Paul Durrant
Upstream QEMU supports emulation of NVM Express a.k.a. NVMe drives. This patch adds a new vdev type into libxl to allow such drives to be presented to HVM guests. Because the purpose of the new vdev is purely to configure emulation, the syntax only supports specification of whole disks. Also there

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

2017-01-19 Thread Wei Liu
On Thu, Jan 19, 2017 at 08:58:12AM +, Paul Durrant wrote: > > -Original Message- > [snip] > > > > For safety I guess I could explore the possibility of having libxl not > > > > create a PV backend for this vdev type. > > > > > > ... this is the best option for now. > > > > > > > And I

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

2017-01-19 Thread Paul Durrant
> -Original Message- [snip] > > > For safety I guess I could explore the possibility of having libxl not > > > create a PV backend for this vdev type. > > > > ... this is the best option for now. > > > > And I realise if we are not going to have code in libxl for nvme pv > disk, we can jus

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

2017-01-18 Thread Wei Liu
On Wed, Jan 18, 2017 at 12:20:07PM +, Wei Liu wrote: > On Wed, Jan 18, 2017 at 12:15:22PM +, Paul Durrant wrote: > > > -Original Message- > > > From: Wei Liu [mailto:wei.l...@citrix.com] > > > Sent: 18 January 2017 12:02 > > > To: Paul Durrant > > > Cc: Wei Liu ; xen-de...@lists.xe

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

2017-01-18 Thread Wei Liu
On Wed, Jan 18, 2017 at 12:15:22PM +, Paul Durrant wrote: > > -Original Message- > > From: Wei Liu [mailto:wei.l...@citrix.com] > > Sent: 18 January 2017 12:02 > > To: Paul Durrant > > Cc: Wei Liu ; xen-de...@lists.xenproject.org; Ian > > Jackson > > Subject: Re: [PATCH RESEND] tools/

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

2017-01-18 Thread Paul Durrant
> -Original Message- > From: Wei Liu [mailto:wei.l...@citrix.com] > Sent: 18 January 2017 12:02 > To: Paul Durrant > Cc: Wei Liu ; xen-de...@lists.xenproject.org; Ian > Jackson > Subject: Re: [PATCH RESEND] tools/libxl: add support for emulated NVMe > drives > [snip] > > > > > > > > -

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

2017-01-18 Thread Wei Liu
On Wed, Jan 18, 2017 at 10:51:50AM +, Paul Durrant wrote: > > -Original Message- > > From: Wei Liu [mailto:wei.l...@citrix.com] > > Sent: 18 January 2017 10:29 > > To: Paul Durrant > > Cc: xen-de...@lists.xenproject.org; Ian Jackson ; > > Wei Liu > > Subject: Re: [PATCH RESEND] tools/

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

2017-01-18 Thread Paul Durrant
> -Original Message- > From: Wei Liu [mailto:wei.l...@citrix.com] > Sent: 18 January 2017 10:29 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org; Ian Jackson ; > Wei Liu > Subject: Re: [PATCH RESEND] tools/libxl: add support for emulated NVMe > drives > > On Fri, Jan 13, 2017 at 0

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

2017-01-18 Thread Wei Liu
On Fri, Jan 13, 2017 at 02:00:41PM +, Paul Durrant wrote: > Upstream QEMU supports emulation of NVM Express a.k.a. NVMe drives. > > This patch adds a new vdev type into libxl to allow such drives to be > presented to HVM guests. Because the purpose of the new vdev is purely > to configure emul

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

2017-01-13 Thread Paul Durrant
Upstream QEMU supports emulation of NVM Express a.k.a. NVMe drives. This patch adds a new vdev type into libxl to allow such drives to be presented to HVM guests. Because the purpose of the new vdev is purely to configure emulation, the syntax only supports specification of whole disks. Also there