Better match vhost-user specification for live migration 04/504/2
authorYoann Desmouceaux <ydesmouc@cisco.com>
Tue, 8 Mar 2016 13:54:28 +0000 (14:54 +0100)
committerGerrit Code Review <gerrit@fd.io>
Mon, 14 Mar 2016 09:13:02 +0000 (09:13 +0000)
commitfe2da0e01a8873c2aa586cf170d276c81174b28e
tree566bd90b10741af01223d18e598aee995fdff6ef
parent526b5e85468a7f4becd6c006bcba251ae6da35e2
Better match vhost-user specification for live migration

The specification requires logging of used vring writes to only happen
when VHOST_VRING_F_LOG flag is present in VHOST_USER_SET_VRING_ADDR
message; take that into account.

Change-Id: I9bf4b9eb43a1783b39909b1a3ea1a3bdf50d91a8
Signed-off-by: Yoann Desmouceaux <ydesmouc@cisco.com>
vnet/vnet/devices/virtio/vhost-user.c
vnet/vnet/devices/virtio/vhost-user.h