]> xenbits.xensource.com Git - libvirt.git/commit
qemu: use "id" instead of deprecated "name" for -net
authorJán Tomko <jtomko@redhat.com>
Mon, 8 Oct 2018 14:36:05 +0000 (16:36 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 9 Oct 2018 07:44:36 +0000 (09:44 +0200)
commitf4ccf1ecdc39e7949ee4c9af5d2f49ad38925d67
tree5ef2db9fbe4efc4b470fdae682e4e6e4b3392baa
parent0d981bcefcb5defa27c208a976165c7eb9cda56a
qemu: use "id" instead of deprecated "name" for -net

-net name= will be deprecated in QEMU 3.1:
commit 101625a4d4ac7e96227a156bc5f6d21a9cc383cd
    net: Deprecate the "name" parameter of -net
git describe: v3.0.0-791-g101625a4d4

Use the id option instead, supported since QEMU 1.2:
commit 6687b79d636cd60ed9adb1177d0d946b58fa7717
    convert net_client_init() to OptsVisitor
git describe: v1.0-3564-g6687b79d63 contains: v1.2.0-rc0~142^2~8

Thankfully, libvirt only uses -net for non-PCI, non-virtio NICs
on ARM.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/arm-vexpressa9-basic.args