virtio-net: vhost net support
commit9bc6304c156dcc01c619672ca33d7152bb18bcb9
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Mar 2010 11:08:42 +0000 (17 13:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 1 Apr 2010 18:56:43 +0000 (1 13:56 -0500)
tree936d43899185f4d57a843cdc692314a7586ca890
parentb202554cf791f7182eccd70c7685827abded3907
virtio-net: vhost net support

This connects virtio-net to vhost net backend.
The code is structured in a way analogous to what we have with vnet
header capability in tap.

We start/stop backend on driver start/stop as
well as on save and vm start (for migration).

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-net.c