On a Thursday in 2021, Peter Krempa wrote:
virtio-net-pci specific properties and their types according to QEMU:
tx=<str>
ioeventfd=<bool> - on/off (default: true)
event_idx=<bool> - on/off (default: true)
csum=<bool> - on/off (default: true)
gso=<bool> - on/off (default: true)
host_tso4=<bool> - on/off (default: true)
host_tso6=<bool> - on/off (default: true)
host_ecn=<bool> - on/off (default: true)
host_ufo=<bool> - on/off (default: true)
mrg_rxbuf=<bool> - on/off (default: true)
guest_csum=<bool> - on/off (default: true)
guest_tso4=<bool> - on/off (default: true)
guest_tso6=<bool> - on/off (default: true)
guest_ecn=<bool> - on/off (default: true)
guest_ufo=<bool> - on/off (default: true)
mq=<bool> - on/off (default: false)
vectors=<uint32> - (default: 4294967295)
rx_queue_size=<uint16> - (default: 256)
tx_queue_size=<uint16> - (default: 256)
host_mtu=<uint16> - (default: 0)
failover=<bool> - (default: false)
properties common for all network interfaces:
netdev=<str> - ID of a netdev to use as a backend
mac=<str> - Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56
bootindex=<int32>
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_command.c | 166 +++++++++++++++++-----------------------
src/qemu/qemu_command.h | 9 ++-
src/qemu/qemu_hotplug.c | 6 +-
3 files changed, 78 insertions(+), 103 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano