[elbe-devel] [PATCH 1/2] examples: arm64-qemu: Replace deprecated options
Bastian Germann
bage at linutronix.de
Thu Oct 7 22:00:39 CEST 2021
Am 07.10.21 um 15:42 schrieb Kurt Kanzenbach:
> 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
Reviewed-by: Bastian Germann <bage at linutronix.de>
More information about the elbe-devel
mailing list