On 15.11.2016 18:47, Andrew Jones wrote: > 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@xxxxxxxxxx> > --- > arm/run | 2 +- > powerpc/run | 2 +- > x86/run | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arm/run b/arm/run > index 1ee6231599d6..f1b04af614dc 100755 > --- a/arm/run > +++ b/arm/run > @@ -73,7 +73,7 @@ if $qemu $M -device '?' 2>&1 | grep pci-testdev > /dev/null; then > 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 "$@" > diff --git a/powerpc/run b/powerpc/run > index 14988a75b1e2..afdd487bfc35 100755 > --- a/powerpc/run > +++ b/powerpc/run > @@ -43,7 +43,7 @@ fi > > M='-machine pseries' > M+=",accel=$ACCEL" > -command="$qemu $M -bios $FIRMWARE" > +command="$qemu -nodefaults $M -bios $FIRMWARE" > command+=" -display none -serial stdio -kernel" > command="$(timeout_cmd) $command" > echo $command "$@" For the powerpc part: Acked-by: Thomas Huth <thuth@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html