...
Note, as you have noticed that we can pass almost most launch_cvd
’s parameters to assemble_cvd
, but it is not always true that these two commands can support exact same parameters. If you want to check what’s the correct parameters for passed to assemble_cvd
, you can firstly run launch_cvd
and after it launching assumble_cvd
is launched in the sub process, you can check the parameters for the running assumble_cvd
process:
Code Block |
---|
$ ps -e | grep assemble_cvd 673381 ? 00:00:02 assemble_cvd $ cat /proc/673381/cmdline | sed -e "s/\x00/ /g"; echo /home/leoy/Dev2/aosp_cuttlefish_test/cf/bin/assemble_cvd --group_id=cvd_1 --report_anonymous_usage_stats=y --vm_manager=qemu_cli --webrtc_device_id=cvd_1-1 |
...
Same as the assemble_cvd
command, it prevents we are prevent to directly run the run_cvd
command. If we want to directly execute it, we can use the command:
Code Block |
---|
$ true | HOME=$PWD ./bin/run_cvd 2>&1 | cat |
run_cvd
manages dozen of backend programs internally for emulating virtual devices (e.g. for WiFi, secure devices, etc). For the rough brief understanding of the run_cvd
’s internal, you could refer to below diagram:
...