Re: [Qemu-devel] [PATCH 16/16] nvme: support multiple namespaces

2019-11-04 Thread Ross Lagerwall
On 11/4/19 9:04 AM, Klaus Birkelund wrote: > On Mon, Nov 04, 2019 at 08:46:29AM +, Ross Lagerwall wrote: >> On 8/23/19 9:10 AM, Klaus Birkelund wrote: >>> On Thu, Aug 22, 2019 at 02:18:05PM +0100, Ross Lagerwall wrote: On 7/5/19 8:23 AM, Klaus Birkelund Jensen wrote: I tried

Re: [Qemu-devel] [PATCH 16/16] nvme: support multiple namespaces

2019-11-04 Thread Klaus Birkelund
On Mon, Nov 04, 2019 at 08:46:29AM +, Ross Lagerwall wrote: > On 8/23/19 9:10 AM, Klaus Birkelund wrote: > > On Thu, Aug 22, 2019 at 02:18:05PM +0100, Ross Lagerwall wrote: > >> On 7/5/19 8:23 AM, Klaus Birkelund Jensen wrote: > >> > >> I tried this patch series by installing Windows with a

Re: [Qemu-devel] [PATCH 16/16] nvme: support multiple namespaces

2019-11-04 Thread Ross Lagerwall
On 8/23/19 9:10 AM, Klaus Birkelund wrote: > On Thu, Aug 22, 2019 at 02:18:05PM +0100, Ross Lagerwall wrote: >> On 7/5/19 8:23 AM, Klaus Birkelund Jensen wrote: >> >> I tried this patch series by installing Windows with a single NVME >> controller having two namespaces. QEMU crashed in get_feature

Re: [Qemu-devel] [PATCH 16/16] nvme: support multiple namespaces

2019-08-23 Thread Klaus Birkelund
On Thu, Aug 22, 2019 at 02:18:05PM +0100, Ross Lagerwall wrote: > On 7/5/19 8:23 AM, Klaus Birkelund Jensen wrote: > > I tried this patch series by installing Windows with a single NVME > controller having two namespaces. QEMU crashed in get_feature / > NVME_VOLATILE_WRITE_CACHE because req->ns

Re: [Qemu-devel] [PATCH 16/16] nvme: support multiple namespaces

2019-08-22 Thread Ross Lagerwall
On 7/5/19 8:23 AM, Klaus Birkelund Jensen wrote: This adds support for multiple namespaces by introducing a new 'nvme-ns' device model. The nvme device creates a bus named from the device name ('id'). The nvme-ns devices then connect to this and registers themselves with the nvme device. This

[Qemu-devel] [PATCH 16/16] nvme: support multiple namespaces

2019-07-05 Thread Klaus Birkelund Jensen
This adds support for multiple namespaces by introducing a new 'nvme-ns' device model. The nvme device creates a bus named from the device name ('id'). The nvme-ns devices then connect to this and registers themselves with the nvme device. This changes how an nvme device is created. Example with