Re: [Qemu-devel] [PATCH v2 2/4] vhost-user-blk: introduce a new vhost-user-blk host device

2017-08-10 Thread Paolo Bonzini
On 09/08/2017 19:10, Michael S. Tsirkin wrote: > So user specifies properties and > they get sent to backend at init time. Only handle geometry changes > specially. So QEMU would get the configuration, set these properties, and send the result to the backend via SET_CONFIG? vhost-user-blk-pci.cyl

Re: [Qemu-devel] [PATCH v2 2/4] vhost-user-blk: introduce a new vhost-user-blk host device

2017-08-09 Thread Liu, Changpeng
> -Original Message- > From: Marc-André Lureau [mailto:marcandre.lur...@redhat.com] > Sent: Wednesday, August 9, 2017 11:39 PM > To: Liu, Changpeng > Cc: qemu-devel@nongnu.org; stefa...@gmail.com; pbonz...@redhat.com; > m...@redhat.com; fel...@nutanix.com; Harris, James R > > Subject: R

Re: [Qemu-devel] [PATCH v2 2/4] vhost-user-blk: introduce a new vhost-user-blk host device

2017-08-09 Thread Michael S. Tsirkin
I only had time for a quick look. More review when you repost after release. On Thu, Aug 10, 2017 at 06:12:29PM +0800, Changpeng Liu wrote: > This commit introduces a new vhost-user device for block, it uses a > chardev to connect with the backend, same with Qemu virito-blk device, > Guest OS sti

Re: [Qemu-devel] [PATCH v2 2/4] vhost-user-blk: introduce a new vhost-user-blk host device

2017-08-09 Thread Marc-André Lureau
Hi - Original Message - > This commit introduces a new vhost-user device for block, it uses a > chardev to connect with the backend, same with Qemu virito-blk device, > Guest OS still uses the virtio-blk frontend driver. > > To use it, start Qemu with command line like this: > > qemu-sys

[Qemu-devel] [PATCH v2 2/4] vhost-user-blk: introduce a new vhost-user-blk host device

2017-08-09 Thread Changpeng Liu
This commit introduces a new vhost-user device for block, it uses a chardev to connect with the backend, same with Qemu virito-blk device, Guest OS still uses the virtio-blk frontend driver. To use it, start Qemu with command line like this: qemu-system-x86_64 \ -chardev socket,id=char0,path=