Skip to content
Commit bf6d4034 authored by Rusty Russell's avatar Rusty Russell
Browse files

lguest: Convert net device to virtio 1.0 PCI.



The only real change here (other than using the PCI bus) is that we
didn't negotiate VIRTIO_NET_F_MRG_RXBUF before, so the format of the
packet header changed with virtio 1.0; we need TUNSETVNETHDRSZ on the
tun fd to tell it about the extra two bytes.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 50516547
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment