Skip to content
Snippets Groups Projects
Commit 93960c5f authored by Pavel Zhukov's avatar Pavel Zhukov
Browse files

docs: Recommend slirp option for runqemu


With default network settings of runqemu script Oniro images start without
IP address assigned which may cause inconvenience for some users.
Using user network allows network access from the Oniro VM and
enables port forwarding for ssh access.

Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
parent b30990d1
No related branches found
No related tags found
1 merge request!156docs: Add slirp option to the list of runqemu arguments
......@@ -39,7 +39,7 @@ You can test the image built for the qemux86-64 target by issuing:
.. code-block:: console
$ runqemu qemux86-64 oniro-image-base wic ovmf
$ runqemu qemux86-64 oniro-image-base wic ovmf slirp
After successful bootup, you will be dropped into a login shell:
......
......@@ -48,4 +48,4 @@ Once the image is done, you can run the Qemu using the provided script wrapper:
.. code-block:: console
$ MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf
$ MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf slirp
......@@ -48,4 +48,4 @@ Once the image is done, you can run the Qemu using the provided script wrapper:
.. code-block:: console
$ MACHINE=qemux86 runqemu oniro-image-base wic ovmf
$ MACHINE=qemux86 runqemu oniro-image-base wic ovmf slirp
......@@ -84,7 +84,7 @@ Once the image is built, you can run a Qemu X86-64 instance using the provided s
.. code-block:: console
$ MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf
$ MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf slirp
If the host has a VT-capable CPU, you can pass the ``kvm`` argument for better
performance. Check ``runqemu``'s help message for all available arguments.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment