commit | bf6d40344d7006f29da1a2782f45188cdbbb0904 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 11 15:16:01 2015 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 11 16:47:39 2015 +1030 |
tree | 888df89d98db9d07d6e4d9c90489fc9fda102e26 | |
parent | 5051654764d55a101747b5b2a695bcecae75fa4c [diff] |
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: Rusty Russell <rusty@rustcorp.com.au>