tap: add vhost/vhostfd options
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Mar 2010 11:08:24 +0000 (13:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 1 Apr 2010 18:56:43 +0000 (13:56 -0500)
commit754e56362f3ab4b86c350a57d01c8ca47b6b9422
treeca955498bd7a81e437608f83907572a8ef9f98f1
parent00e3ad6fb74b891ab55a6bb29079b3ff8eec1c9e
tap: add vhost/vhostfd options

This adds vhost binary option to tap, to enable vhost net accelerator.
Default is off for now, we'll be able to make default on long term
when we know it's stable.

vhostfd option can be used by management, to pass in the fd. Assigning
vhostfd implies vhost=on.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
net/tap.c
qemu-options.hx