[PATCH 081/103] qemuBuildInterfaceCommandLine: Generate via JSON

Ján Tomko jtomko at redhat.com
Mon Oct 11 15:45:42 UTC 2021


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 at 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 at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211011/fbd73f8c/attachment-0001.sig>


More information about the libvir-list mailing list