vhost: fix features ack
commitaf4c828e7043b2c594f904bca419fd3ab2b80a38
authorDavid L Stevens <dlstevens@us.ibm.com>
Wed, 31 Mar 2010 18:20:31 +0000 (31 21:20 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 11 Apr 2010 17:15:48 +0000 (11 20:15 +0300)
treee74662b5ca5307806c6b0cdd3624451be910c512
parent8bbd1ce236130dc92d5d592e76701dd1c740df36
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>
hw/virtio-net.c