|
From: | Thomas Huth |
Subject: | Re: Networking in Qemu with Xilinx-zcu102 machine |
Date: | Wed, 9 Jun 2021 09:41:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 |
On 08/06/2021 19.09, asif siddiqui wrote:
Hello All,I am working on the networking between my host OS linux and guest OS QNX(Running on top of qemu). I have an interface xzynq0 in my guest OS with a static/dynamic IP address.I am executing the qemu command as follows -qemu-system-aarch64 -M xlnx-zcu102 -m 8G -serial mon:stdio -display none -device loader,file=QNX_IFS.bin,cpu-num=0 -netdev bridge,br=virbr0,id=net0,helper=/usr/lib/qemu/qemu-bridge-helper -nographic -global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true
Looking at your command line, it seems like you don't connect the "net0" netdev to anything on the guest side. -netdev only configures the host side network interface, but not the network adapter in the guest. See also:
https://www.qemu.org/2018/05/31/nic-parameter/Thus you might want to try "-nic" instead of "-netdev", but as far as I can see, the xlnx-zcu102 does not have any NIC on board by default? Maybe you could attach a virtio-net device with "-device", but I'm not sure whether that machine supports such devices...
Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |