Re: [Qemu-devel] [PATCH v6 1/4] vhost-user: add new vhost user messages to support virtio config space

2017-12-12 Thread Stefan Hajnoczi
On Tue, Dec 12, 2017 at 01:25:30AM +, Liu, Changpeng wrote: > > The vhost-blk code should also check that > > hdev->vhost_ops->vhost_set_config != NULL during realize. This way > > users see the error when adding the device instead of at runtime when > > the function gets called. > For

Re: [Qemu-devel] [PATCH v6 1/4] vhost-user: add new vhost user messages to support virtio config space

2017-12-11 Thread Liu, Changpeng
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Monday, December 11, 2017 9:39 PM > To: Liu, Changpeng > Cc: qemu-devel@nongnu.org; pbonz...@redhat.com; m...@redhat.com; > marcandre.lur...@redhat.com; fel...@nutanix.com; Harris,

Re: [Qemu-devel] [PATCH v6 1/4] vhost-user: add new vhost user messages to support virtio config space

2017-12-11 Thread Stefan Hajnoczi
On Tue, Dec 05, 2017 at 02:27:16PM +0800, Changpeng Liu wrote: > +* VHOST_USER_SET_CONFIG > + Id: 25 > + Equivalent ioctl: N/A > + Master payload: virtio device config space > + > + Submitted by the vhost-user master when the Guest changes the virtio > + device