virtio-net: enable tap offload if guest supports it
authorMark McLoughlin <markmc@redhat.com>
Thu, 22 Oct 2009 16:43:47 +0000 (17:43 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:29:03 +0000 (12:29 -0500)
commite7acda18f860b401af694e7a8ead08c09b51d750
tree3ded9f3042f591e7b31df21616c49fa18fa98296
parent708b30634e2e2fd7c0151389d0eed12845114e2c
virtio-net: enable tap offload if guest supports it

We query the guest's feature set to see if it supports offload and,
if so, we enable those features on the tap interface.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-net.c