diff options
author | Mike Frysinger <vapier@google.com> | 2015-11-24 14:32:54 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2015-11-24 14:34:16 -0500 |
commit | 39ebeec8d625547bee159b0bbef09e26cd37a4f5 (patch) | |
tree | 4d8681c858095adfe1eb1f9017507573168ab992 /brilloemulator_x86_64 | |
parent | 37e5cc52e09d004dfe3f31d3eda25073eea3a239 (diff) | |
download | brillo-39ebeec8d625547bee159b0bbef09e26cd37a4f5.tar.gz |
brilloemulator: pass down args to qemu
The current parser will stop on the -- marker, but it won't pass down
the remaining args to qemu. This makes the parsing a bit pointless.
Once we have $@ passed on to qemu, people can add extra flags like the
number of cpu cores:
$ brilloemulator-x86_64 -- -smp 4
Change-Id: I2b8dcf98f496c4e2537625ba71d743cf19b4ec85
Diffstat (limited to 'brilloemulator_x86_64')
-rwxr-xr-x | brilloemulator_x86_64/base_product/qemu/brilloemulator-x86_64 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/brilloemulator_x86_64/base_product/qemu/brilloemulator-x86_64 b/brilloemulator_x86_64/base_product/qemu/brilloemulator-x86_64 index 4ac08a5..96c1dcd 100755 --- a/brilloemulator_x86_64/base_product/qemu/brilloemulator-x86_64 +++ b/brilloemulator_x86_64/base_product/qemu/brilloemulator-x86_64 @@ -50,4 +50,5 @@ ${ANDROID_BUILD_TOP}/prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/q -drive file="${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_x86_64/userdata.img,if=none,id=userdata,format=raw" \ -netdev user,id=mynet -device virtio-net-pci,netdev=mynet \ -vga none \ - -L ${ANDROID_BUILD_TOP}/prebuilts/android-emulator/linux-x86_64/lib/pc-bios + -L ${ANDROID_BUILD_TOP}/prebuilts/android-emulator/linux-x86_64/lib/pc-bios \ + "$@" |