commit | 15324404f68cde561d0eeee3d18a7b203f57f095 | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Fri Oct 09 17:17:25 2015 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 22 14:34:49 2015 +0300 |
tree | a8a52cb4cf0af571dc946f06a08f2dcde185f8a3 | |
parent | 1be0ac2109fbaca6e730ac578f0564507d173e2d [diff] |
vhost: alloc shareable log If the backend is requires it, allocate shareable memory. vhost_log_get() now uses 2 globals "vhost_log" and "vhost_log_shm", that way there is a common non-shareable log and a common shareable one. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Thibaut Collet <thibaut.collet@6wind.com>