vhost: set log when updating used flags or avail event
authorJason Wang <jasowang@redhat.com>
Tue, 21 Jun 2011 10:04:38 +0000 (18:04 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Jul 2011 10:28:34 +0000 (13:28 +0300)
commit2723feaa8ec64f677f644c9189ed87d83f5559c1
tree23ecb435e42dac4614c5470935e813cf91f74c5d
parentf59281dafb832b161133743fcf3dc29051e6fdb8
vhost: set log when updating used flags or avail event

We need to log writes when updating used flags and avail event
fields.  Otherwise the guest may see a stale value after migration and
miss notifying the host.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c