[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian and QEMU virtio-net-device



Hi, all,

I'm trying to get Debian armhf (jessie) running under qemu-system-arm.
It's working OK except for one point.

If I don't specify any nic, QEMU supplies a default which is accepted by
Debian.  However, when I specify a virtio-net-device (so I can bridge to
the host nic), I get no nic.

The nic is defined in the QEMU startup with:

-netdev bridge,br=bridge0,id=net0,helper=/usr/lib/qemu/qemu-bridge-helper \
-device virtio-net-device,netdev=net0,mac=DE:AD:BE:EF:37:30 \

and the QEMU monitor shows it as:

virtio-net-device.0:
index=0,type=nic,model=virtio-net-device,macaddr=de:ad:be:ef:37:30
\ net0: index=0,type=tap,helper=/usr/lib/qemu/qemu-bridge-helper,br=bridge0

(bridge0 is the name of the bridge on the host system, and is working
correctly).

I've added the following to /etc/modules:

virtio
virtio_ring
virtio_blk
virtio_net

All modules are loaded and show up in lsmod.

The only odd thing I see in the syslog at startup are lines indicating
eth0 is not found.

Am I missing something to get this to work in Debian?  Like another
driver maybe?

I appreciate any help.

Jerry


Reply to: