Re: [Qemu-devel] [PATCH v3 04/16] vhost: alloc shareable log

2015-09-19 Thread Marc-André Lureau
Hi On Wed, Sep 16, 2015 at 4:06 PM, Michael S. Tsirkin wrote: > Shouldn't this be limited to when the appropriate feature flag > is negotiated? That's doable, I'll add it after the feature protocol is added (not in this commit) -- Marc-André Lureau

Re: [Qemu-devel] [PATCH v3 04/16] vhost: alloc shareable log

2015-09-16 Thread Michael S. Tsirkin
On Thu, Aug 06, 2015 at 02:40:40PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > If the backend is of type VHOST_BACKEND_TYPE_USER, allocate > shareable memory. > > Note: vhost_log_get() can use a global "vhost_log" that can be shared by > several vhost devices. We may

[Qemu-devel] [PATCH v3 04/16] vhost: alloc shareable log

2015-08-06 Thread marcandre . lureau
From: Marc-André Lureau If the backend is of type VHOST_BACKEND_TYPE_USER, allocate shareable memory. Note: vhost_log_get() can use a global "vhost_log" that can be shared by several vhost devices. We may want instead a common shareable log and a common non-shareable one. Signed-off-by: Marc-An