Lines Matching +full:qemu +full:- +full:system +full:-
3 if [ -z "$KUT_STANDALONE" ]; then
4 if [ ! -f config.mak ]; then
5 echo "run ./configure && make first. See ./configure -h"
9 source scripts/arch-run.bash
19 if [ "$QEMU" ] && [ -z "$ACCEL" ] &&
21 [ "$(basename $QEMU)" = "qemu-system-arm" ]; then
30 qemu=$(search_qemu_binary) ||
33 if ! $qemu -machine '?' | grep -q 'ARM Virtual Machine'; then
34 echo "$qemu doesn't support mach-virt ('-machine virt'). Exiting."
38 M='-machine virt'
41 if $qemu $M,\? | grep -q gic-version; then
42 M+=',gic-version=host'
46 if [ -z "$qemu_cpu" ]; then
62 if ! $qemu $M -device '?' | grep -q virtconsole; then
63 echo "$qemu doesn't support virtio-console for chr-testdev. Exiting."
67 if ! $qemu $M -chardev '?' | grep -q testdev; then
68 echo "$qemu doesn't support chr-testdev. Exiting."
73 chr_testdev='-device virtio-serial-device'
74 chr_testdev+=' -device virtconsole,chardev=ctd -chardev testdev,id=ctd'
78 if $qemu $M -device '?' | grep -q pci-testdev; then
79 pci_testdev="-device pci-testdev"
82 A="-accel $ACCEL$ACCEL_PROPS"
83 command="$qemu -nodefaults $M $A -cpu $qemu_cpu $chr_testdev $pci_testdev"
84 command+=" -display none -serial stdio"
90 run_test_status $command -kernel "$@"
92 run_test $command -kernel "$@"
120 run_test_status $command --kernel "$@" --aarch32
122 run_test_status $command --kernel "$@"
127 qemu)