vhost_net: use offload API instead of bypassing it
commite3e48565c1553f9ab4c34c2388287a013ef30deb
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 20 Feb 2014 11:14:08 +0000 (20 12:14 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 25 Feb 2014 13:31:05 +0000 (25 14:31 +0100)
tree10e7947bb3f9b69206692b57dc5a19a37e7ca56e
parentd6085e3ace20bc9b0fa625d8d79b22668710e217
vhost_net: use offload API instead of bypassing it

There is no need to access backend->info->has_vnet_hdr() and friends
anymore.  Use the qemu_has_vnet_hdr() API instead.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/vhost_net.c