[elbe-devel] [PATCH 1/2] examples: arm64-qemu: Replace deprecated options
Kurt Kanzenbach
kurt at linutronix.de
Thu Oct 7 15:42:28 CEST 2021
The example description displays how to run the generated image with qemu. The
`-redir' option is no longer available. Update the description.
Signed-off-by: Kurt Kanzenbach <kurt at linutronix.de>
---
examples/arm64-qemu-virt.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/examples/arm64-qemu-virt.xml b/examples/arm64-qemu-virt.xml
index 72774c02d71b..4bd3af8d6a38 100644
--- a/examples/arm64-qemu-virt.xml
+++ b/examples/arm64-qemu-virt.xml
@@ -9,8 +9,7 @@
$ qemu-system-aarch64 \
-machine virt -cpu cortex-a57 -machine type=virt -nographic \
-smp 1 -m 1024 \
- -netdev user,id=unet -device virtio-net-device,netdev=unet \
- -redir tcp:2022::22 -redir tcp:2021::21 -redir tcp:2345::2345 \
+ -net nic -net user,hostfwd=tcp::2222-:22
-kernel vmlinuz \
-append "console=ttyAMA0 root=/dev/vda2" \
sdcard.qcow2
--
2.30.2
More information about the elbe-devel
mailing list