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

Re: Debian and QEMU virtio-net-device



On Mon, Nov 07, 2016 at 10:57:29PM -0500, Jerry Stuckle wrote:
> 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 \

Without the rest of the command line it is hard to know.

This works for me:

qemu-system-arm -machine vexpress-a15 \
	-device virtio-net-device,netdev=net0 -netdev type=user,id=net0 \
	-dtb vexpress-v2p-ca15-tc1.dtb -kernel vmlinuz -initrd initrd.gz \
	-drive file=debian-8.6.0-armhf-netinst.iso,if=none,id=cd \
	-device virtio-scsi-device -device scsi-cd,drive=cd \
	-append "console=ttyAMA0" -nographic

Of course adding a hard disk would be useful.

So what system were you emulating?

-- 
Len Sorensen


Reply to: