Re: [Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-10-24 Thread Liu, Changpeng
The latest thread for supporting DISCARD and WRITE ZEROES feature for virtio-blk is here: virtio_blk: add discard and write zeroes support https://lists.linuxfoundation.org/pipermail/virtualization/2018-October/039534.html I don't take further more steps about it, please go ahead and make the s

Re: [Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-10-23 Thread Michael S. Tsirkin
On Tue, Jan 16, 2018 at 06:06:56PM +0100, Paolo Bonzini wrote: > Second, virtio-based vhost-user remains QEMU's preferred method for > high-performance I/O in guests. Discard support is missing and that is > important for SSDs; that should be fixed in the virtio spec. BTW could you reply on the t

Re: [Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-01-29 Thread Liu, Changpeng
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Monday, January 29, 2018 11:29 PM > To: Liu, Changpeng > Cc: qemu-devel@nongnu.org; Harris, James R ; Busch, > Keith ; f...@redhat.com; pbonz...@redhat.com; > m...@redhat.com > Subject: Re: [RFC v1] block/NV

Re: [Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-01-29 Thread Harris, James R
On 1/29/18, 8:29 AM, "Stefan Hajnoczi" wrote: Each new feature has a cost in terms of maintainance, testing, documentation, and support. Users need to be educated about the role of each available storage controller and how to choose between them. I'm not sure why QEM

Re: [Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-01-29 Thread Stefan Hajnoczi
On Mon, Jan 15, 2018 at 04:01:55PM +0800, Changpeng Liu wrote: > NVMe 1.3 specification introduces a new NVMe ADMIN command: > doorbell buffer config, which can write shadow doorbell buffer > instead of MMIO registers, so it can improve the Guest performance > a lot for emulated NVMe devices inside

Re: [Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-01-16 Thread Paolo Bonzini
On 17/01/2018 01:53, Liu, Changpeng wrote: >> Second, virtio-based vhost-user remains QEMU's preferred method for >> high-performance I/O in guests. Discard support is missing and that is >> important for SSDs; that should be fixed in the virtio spec. Are there > Previously I have a patch adding

Re: [Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-01-16 Thread Liu, Changpeng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Wednesday, January 17, 2018 1:07 AM > To: Liu, Changpeng ; qemu-devel@nongnu.org > Cc: Harris, James R ; Busch, Keith > ; f...@redhat.com; stefa...@gmail.com; > m...@redhat.com > Subject: Re: [RFC v1] block/NV

Re: [Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-01-16 Thread Paolo Bonzini
On 15/01/2018 09:01, Changpeng Liu wrote: > NVMe 1.3 specification introduces a new NVMe ADMIN command: > doorbell buffer config, which can write shadow doorbell buffer > instead of MMIO registers, so it can improve the Guest performance > a lot for emulated NVMe devices inside VM. > > Similar wit

[Qemu-devel] [RFC v1] block/NVMe: introduce a new vhost NVMe host device to QEMU

2018-01-14 Thread Changpeng Liu
NVMe 1.3 specification introduces a new NVMe ADMIN command: doorbell buffer config, which can write shadow doorbell buffer instead of MMIO registers, so it can improve the Guest performance a lot for emulated NVMe devices inside VM. Similar with existing vhost-user-scsi solution, this commit build