Hello All,

I am trying to enable networking in qemu(5.2.0) for QNX as a guest. As
mentioned here https://wiki.qemu.org/Features/HelperNetworking i have
followed the steps -
1)  enable the setuid attribute for qemu-bridge-helper file.
2)  echo "allow virbr0" > /etc/qemu/bridge.conf
3)  chmod 0640 /etc/qemu/bridge.conf

When checked on my linux host with brctl show i got the following  -

bridge name       bridge id                STP  enabled          interfaces
virbr0                 8000.000000000000        yes

When i run the qemu with following command line -

qemu-system-aarch64 -machine vexpress-a15 -cpu cortex-a57 -m 1G -kernel
ifs/aarch64/$IFSNAME -drive file=fs/aarch64/fs.qcow2,if=none,id=drv0
-device virtio-blk-device,drive=drv0 -netdev bridge,br=$INTF,id=net0
-device virtio-net-device,netdev=net0,mac=$MACADDR -nographic -serial
mon:stdio

Please find attached the check-net.sh for enabling the network.

I get "qemu-system-aarch64: bridge helper failed". Am i missing something?
Can you please help me out here ?

Regards
Asif

Attachment: check-net.sh
Description: application/shellscript

Reply via email to