Re: [Qemu-devel] [PATCH 1/1 V2] Add vhost-pci-blk driver

2018-11-09 Thread Kevin Wolf
Am 09.11.2018 um 02:48 hat Dongli Zhang geschrieben: > > > On 11/09/2018 12:47 AM, Michael S. Tsirkin wrote: > > On Thu, Nov 08, 2018 at 10:09:00PM +0800, Dongli Zhang wrote: > >> It looks the kernel space vhost-blk can only process raw image. > >> > >> How about to verify that only raw image is

Re: [Qemu-devel] [PATCH 1/1 V2] Add vhost-pci-blk driver

2018-11-08 Thread Dongli Zhang
On 11/09/2018 12:47 AM, Michael S. Tsirkin wrote: > On Thu, Nov 08, 2018 at 10:09:00PM +0800, Dongli Zhang wrote: >> It looks the kernel space vhost-blk can only process raw image. >> >> How about to verify that only raw image is used in the drive command line >> when >> vhost-blk-pci is paired

Re: [Qemu-devel] [PATCH 1/1 V2] Add vhost-pci-blk driver

2018-11-08 Thread Michael S. Tsirkin
On Thu, Nov 08, 2018 at 10:09:00PM +0800, Dongli Zhang wrote: > It looks the kernel space vhost-blk can only process raw image. > > How about to verify that only raw image is used in the drive command line when > vhost-blk-pci is paired with it? > > Otherwise, vhost-blk-pci might be working with

Re: [Qemu-devel] [PATCH 1/1 V2] Add vhost-pci-blk driver

2018-11-08 Thread Kevin Wolf
Am 05.11.2018 um 21:56 hat Vitaly Mayatskikh geschrieben: > This driver uses the kernel-mode acceleration for virtio-blk and > allows to get a near bare metal disk performance inside a VM. > > Signed-off-by: Vitaly Mayatskikh > --- > configure | 10 + > default-configs/virti

Re: [Qemu-devel] [PATCH 1/1 V2] Add vhost-pci-blk driver

2018-11-08 Thread Dongli Zhang
It looks the kernel space vhost-blk can only process raw image. How about to verify that only raw image is used in the drive command line when vhost-blk-pci is paired with it? Otherwise, vhost-blk-pci might be working with qcow2 image without any warning on qemu side. Dongli Zhang On 11/06/2018

[Qemu-devel] [PATCH 1/1 V2] Add vhost-pci-blk driver

2018-11-05 Thread Vitaly Mayatskikh
This driver uses the kernel-mode acceleration for virtio-blk and allows to get a near bare metal disk performance inside a VM. Signed-off-by: Vitaly Mayatskikh --- configure | 10 + default-configs/virtio.mak| 1 + hw/block/Makefile.objs| 1 + hw/block/vhost-