[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/6] block: Add VFIO based driver for NVMe de
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/6] block: Add VFIO based driver for NVMe device |
Date: |
Thu, 23 Feb 2017 19:19:42 +0800 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Thu, 02/23 11:50, Paolo Bonzini wrote:
>
>
> On 23/02/2017 11:48, Fam Zheng wrote:
> >>
> >> The first three patches add the driver, the others are to make qemu-img
> >> more
> >> efficient with the new driver.
> > Paolo, I wanted to also make ram_block_notifier_add notify existing ram
> > blocks,
> > so that hot plugging of nvme:// will work as expected, but I don't know how
> > to
> > write the code. Any suggestions? Or do you have a patch for that already?
>
> I don't :) but it shouldn't be hard to do using qemu_ram_foreach_block:
>
> typedef int (RAMBlockIterFunc)(const char *block_name, void *host_addr,
> ram_addr_t offset, ram_addr_t length, void *opaque);
>
> int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque);
>
Cool, I'll add that in v3.
Fam
- [Qemu-devel] [PATCH v2 4/6] block: Introduce bdrv_dma_map and bdrv_dma_unmap, (continued)
- [Qemu-devel] [PATCH v2 4/6] block: Introduce bdrv_dma_map and bdrv_dma_unmap, Fam Zheng, 2017/02/23
- [Qemu-devel] [PATCH v2 1/6] nvme: Move NVMe definitions to a separate header, Fam Zheng, 2017/02/23
- [Qemu-devel] [PATCH v2 5/6] block/nvme: Implement .bdrv_dma_map and .bdrv_dma_unmap, Fam Zheng, 2017/02/23
- [Qemu-devel] [PATCH v2 6/6] qemu-img: dma map buffers, Fam Zheng, 2017/02/23
- [Qemu-devel] [PATCH v2 3/6] block: Add VFIO based NVMe driver, Fam Zheng, 2017/02/23
- Re: [Qemu-devel] [PATCH v2 0/6] block: Add VFIO based driver for NVMe device, no-reply, 2017/02/23
- Re: [Qemu-devel] [PATCH v2 0/6] block: Add VFIO based driver for NVMe device, Fam Zheng, 2017/02/23