summary refs log tree commit diff stats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-12-20 11:30:25 +0100
committerThomas Huth <thuth@redhat.com>2021-12-22 08:13:05 +0100
commit31fb263c2963489055789385aa8b91663756edee (patch)
tree42e1bef6717bb33cd54aa59073510394e4337726 /scripts/qapi/commands.py
parent046da5ef5747b8ae8efa02bd1d068abd5d639a12 (diff)
downloadfocaccia-qemu-31fb263c2963489055789385aa8b91663756edee.tar.gz
focaccia-qemu-31fb263c2963489055789385aa8b91663756edee.zip
tests/qtest: Make the filter tests independent from a specific NIC
These filter tests need a NIC, no matter which one, so they use a common
NIC by default. However, these common NIC models might not always have
been compiled into the QEMU target binary, so assuming that a certain NIC
is available is a bad idea. Since the exact type of NIC does not really
matter for these tests, let's switch to "-nic" instead of "-netdev" so
that QEMU can simply pick a default NIC for us.
This way we can now run the tests on other targets that have a default
machine with an on-board/default NIC, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20211220103025.311759-1-thuth@redhat.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions