net: add a vnet_hdr=on|off parameter
authorMark McLoughlin <markmc@redhat.com>
Thu, 22 Oct 2009 16:43:37 +0000 (17:43 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:29:00 +0000 (12:29 -0500)
commit654545403e138ece19c78d13947d7f3b9c7c3e60
tree3f413f960230cbfec68d46e790aed12fde9c9810
parent48ad2f3ae80e2e612cfc9a2f1f92f11dde7f352f
net: add a vnet_hdr=on|off parameter

This allows people to disable the IFF_VNET_HDR flag, e.g. for debugging
purposes or if they know they may migrate the guest to a machine without
IFF_VNET_HDR support.

It also allows making the lack of IFF_VNET_HDR support an error
condition, e.g. in the case where a guest is being migrated from a host
which does support it.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
qemu-options.hx