]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvmock: Mock virNetDevSetMTU
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Dec 2023 15:28:23 +0000 (16:28 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 4 Jan 2024 21:26:10 +0000 (22:26 +0100)
commit1948244461cdd40461ab4e4441e54504f25fa900
treea35b579e5609a9959ef670572c159f80bec7dc1b
parent2da71d8e43c59431c0a621e7065dee02199f418a
qemuxml2argvmock: Mock virNetDevSetMTU

Unfortunately the network backend commandline formatter attempts to also
setup the backend itself, which it really should not.

For now make sure qemuxml2argvtest can call virNetDevSetMTU.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnetdev.h
tests/qemuxml2argvmock.c