On 27/01/17 18:52, Bruno Haible wrote: > Yeah! This works! The machine now can connect to the internet. > The ifconfig output now is: > > # /target/sbin/ifconfig > enp0s5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 10.0.2.15 netmask 255.255.255.0 broadcast 0.0.0.0 > inet6 fec0::5054:ff:fe12:3456 prefixlen 64 scopeid 0x40<site> > inet6 fe80::5054:ff:fe12:3456 prefixlen 64 scopeid 0x20<link> > ether 52:54:00:12:34:56 txqueuelen 1000 (Ethernet) > RX packets 291 bytes 263098 (256.9 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 174 bytes 15608 (15.2 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 > inet 127.0.0.1 netmask 255.0.0.0 > inet6 ::1 prefixlen 128 scopeid 0x10<host> > loop txqueuelen 1 (Local Loopback) > RX packets 0 bytes 0 (0.0 B) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 0 bytes 0 (0.0 B) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > # lsmod | grep virt > virtio_net 24168 0 > virtio_pci 14583 0 > virtio_ring 12099 2 virtio_net,virtio_pci > virtio 6188 2 virtio_net,virtio_pci > > (qemu) info network > virtio-net-pci.0: > index=0,type=nic,model=virtio-net-pci,macaddr=52:54:00:12:34:56 > \ hostnet0: index=0,type=user,net=10.0.2.0,restrict=off > > Thanks a lot!
Excellent! I should add that qemu-system-sparc64 should support virtio 1.0 at some point when I get some time to figure out why it hangs - all that's happened is that the default flipped from legacy to modern with the last QEMU release which is why this is now suddenly visible. ATB, Mark.

