diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2013-07-17 18:21:07 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2013-07-17 18:21:07 +0530 |
commit | a761b3e1a9eeee0a1251cd61aaaf0377fcbbfbda (patch) | |
tree | 32ee44b88c003a4f52837887ed03ef0d8452e49b | |
parent | f31445cc5d2f06e4c542c8b7f6c20417c6cdfff8 (diff) |
test-kvm.sh: passing more args to qemu-system-arm
smp and networking options are required pass on to qemu-system-arm.
-smp 2 is provided to use two A15 CPUs.
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | test-kvm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-kvm.sh b/test-kvm.sh index 649b5b7..8cb9515 100755 --- a/test-kvm.sh +++ b/test-kvm.sh @@ -20,7 +20,7 @@ cp test-rt-tests.sh /mnt/root/test-rt-tests.sh chmod 777 /mnt/root/test-rt-tests.sh umount /mnt -qemu-system-arm -smp 2 -cpu cortex-a15 -M vexpress-a15 -m 1024 -kernel ./zImage -dtb ./rtsm_ve-cortex_a15x1.dtb -append 'root=/dev/mmcblk0p2 rw rootwait mem=1024M console=ttyAMA0,38400n8' -drive if=sd,cache=writeback,file=kvm.qcow2 -redir tcp:5022::22 -nographic -enable-kvm 2>&1|tee kvm-log.txt +qemu-system-arm -smp 2 -m 1024 -cpu cortex-a15 -M vexpress-a15 -kernel ./zImage -dtb ./rtsm_ve-cortex_a15x1.dtb -append 'root=/dev/mmcblk0p2 rw rootwait mem=1024M console=ttyAMA0,38400n8' -drive if=sd,cache=writeback,file=kvm.qcow2,id=foo -device virtio-blk-device,drive=foo -netdev tap,id=tap0 -device virtio-net-device,netdev=tap0 -device virtio-net-device,netdev=tap0 -redir tcp:5022::22 -nographic -enable-kvm 2>&1|tee kvm-log.txt if ! grep -q "kvm-boot-1:" kvm-log.txt then |