vhost: fix features ack
commitdc14a397812b91dd0d48b03d1b8f66a251542369
authorDavid L Stevens <dlstevens@us.ibm.com>
Wed, 31 Mar 2010 18:20:31 +0000 (31 21:20 +0300)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 13 Apr 2010 21:58:20 +0000 (13 23:58 +0200)
tree8875c6d353c1851d7140a391e7f4616da2bd406f
parent5ba9e9522cf572715ca1966b292f64fb78342e22
vhost: fix features ack

vhost driver in qemu didn't ack features, and this happens
to work because we don't really require any features. However,
it's better not to rely on this. This patch passes features to
vhost as guest acks them.

Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/virtio-net.c