run: add -nodefaults
Adding pci-test to arm allowed us to see that a virtio-net-pci
device was getting added to our machine by default. Unit tests
should configure the most minimal machines they can, only adding
devices necessary for the tests. Let's add -nodefaults to all
the run scripts.
I tested all arches (powerpc and arm on tcg). There were no
unexpected changes.
Signed-off-by: Andrew Jones <drjones@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com> [powerpc]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
diff --git a/arm/run b/arm/run
index 1ee6231..f1b04af 100755
--- a/arm/run
+++ b/arm/run
@@ -73,7 +73,7 @@
fi
M+=",accel=$ACCEL"
-command="$qemu $M -cpu $processor $chr_testdev $pci_testdev"
+command="$qemu -nodefaults $M -cpu $processor $chr_testdev $pci_testdev"
command+=" -display none -serial stdio -kernel"
command="$(timeout_cmd) $command"
echo $command "$@"