On 12/08/2014 08:53 PM, Stefan Hajnoczi wrote:

Try:

qemu-system-sparc -m 256 \
     -netdev vde,sock=/tmp/vde0,id=vde0 \
     -device ne2k_pci,netdev=vde0 \
     -netdev vde,sock=/tmp/vde1,id=vde1 \
     -device ne2k_pci,netdev=vde1 \
     -hda vm0.img

The is the newer syntax and it should work better.

qemu-system-sparc -m 256 \
       -netdev vde,sock=/tmp/vde0,id=vde0 -device ne2k_pci,netdev=vde0 \
       -netdev vde,sock=/tmp/vde1,id=vde1 -device ne2k_pci,netdev=vde1 \
       -hda vm0.img

produces:

qemu-system-sparc: -device ne2k_pci,netdev=vde0: 'ne2k_pci' is not a valid 
device model name

IIUC hw/net/lance.c is the only emulated NIC on SPARC systems; but

qemu-system-sparc -m 256 \
        -netdev vde,sock=/tmp/vde0,id=vde0 -device lance,netdev=vde0 \
        -netdev vde,sock=/tmp/vde1,id=vde1 -device lance,netdev=vde1 \
        -hda vm0.img

produces totally cryptic:

qemu-system-sparc: -device lance,netdev=vde0: Parameter 'driver' expects 
pluggable device type

Dmitry

Reply via email to