[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 2/8] net: Silence 'has no peer' messages in testi
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PATCH v2 2/8] net: Silence 'has no peer' messages in testing mode |
Date: |
Thu, 16 Aug 2018 13:35:52 +0200 |
When running qtests with -nodefaults, we are not interested in
these 'XYZ has no peer' messages.
Signed-off-by: Thomas Huth <address@hidden>
---
vl.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vl.c b/vl.c
index 16b913f..7055df3 100644
--- a/vl.c
+++ b/vl.c
@@ -4559,11 +4559,10 @@ int main(int argc, char **argv, char **envp)
* (2) CONFIG_SLIRP not set, in which case the implicit "-net nic"
* sets up a nic that isn't connected to anything.
*/
- if (!default_net) {
+ if (!default_net && (!qtest_enabled() || has_defaults)) {
net_check_clients();
}
-
if (boot_once) {
qemu_boot_set(boot_once, &error_fatal);
qemu_register_reset(restore_boot_order, g_strdup(boot_order));
--
1.8.3.1
- [Qemu-devel] [PATCH v2 0/8] Various qtest-related patches and a mc146818rtc fix, Thomas Huth, 2018/08/16
- [Qemu-devel] [PATCH v2 1/8] tests/migration-test: Silence the kvm_hv message by default, Thomas Huth, 2018/08/16
- [Qemu-devel] [PATCH v2 2/8] net: Silence 'has no peer' messages in testing mode,
Thomas Huth <=
- [Qemu-devel] [PATCH v2 3/8] hw/timer/mc146818rtc: White space clean-up, Thomas Huth, 2018/08/16
- [Qemu-devel] [PATCH v2 4/8] hw/timer/mc146818rtc: Fix introspection problem, Thomas Huth, 2018/08/16
- [Qemu-devel] [PATCH v2 8/8] MAINTAINERS: add maintainers for qtest, Thomas Huth, 2018/08/16
- [Qemu-devel] [PATCH v2 5/8] tests: Skip old versioned machine types in quick testing mode, Thomas Huth, 2018/08/16
- [Qemu-devel] [PATCH v2 7/8] tests/device-introspect: Test with all machines, not only with "none", Thomas Huth, 2018/08/16