Comment 7 for bug 453495

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This is a regression over 9.04, though 9.04 has other bugs. However, when selecting 'qemu/mips':
$ virsh dumpxml test5 |grep qemu
Connecting to uri: qemu:///system
<domain type='qemu' id='7'>
    <emulator>/usr/bin/qemu-system-mipsel</emulator>

9.04 uses the wrong machine '-M' option for ppc and sparc, so they don't work at all. Eg:

$ sudo cat /var/log/libvirt/qemu/test5.log
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin HOME=/home/jamie USER=root LOGNAME=root /usr/bin/qemu-system-ppc -S -M g3bw -m 128 -smp 1 -name test5 -uuid e9502b63-7b2e-c6b9-d1ff-f0f6ac2a7cc7 -monitor pty -pidfile /var/run/libvirt/qemu//test5.pid -no-reboot -boot d -drive file=/var/lib/libvirt/images/test5.img,if=ide,index=0 -drive file=/home/jamie/mini.iso,if=ide,media=cdrom,index=2 -net nic,macaddr=54:52:00:64:3d:20,vlan=0 -net tap,fd=23,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 127.0.0.1:0 -k en-us -soundhw es1370
Supported machines are:
g3beige Heathrow based PowerMAC (default)
mac99 Mac99 based PowerMAC
prep PowerPC PREP platform
ref405ep ref405ep
taihu taihu
bamboo bamboo
mpc8544ds mpc8544ds
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin HOME=/home/jamie USER=root LOGNAME=root /usr/bin/qemu-system-sparc -S -M sun4m -m 128 -smp 1 -name test5 -uuid 9a8902a0-7789-804e-c514-eaad8c31b66f -monitor pty -pidfile /var/run/libvirt/qemu//test5.pid -no-reboot -boot d -drive file=/var/lib/libvirt/images/test5.img,if=ide,index=0 -drive file=/home/jamie/mini.iso,if=ide,media=cdrom,index=2 -net nic,macaddr=54:52:00:0a:85:c8,vlan=0 -net tap,fd=25,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 127.0.0.1:0 -k en-us -soundhw es1370
Supported machines are:
SS-5 Sun4m platform, SPARCstation 5 (default)
SS-10 Sun4m platform, SPARCstation 10
SS-600MP Sun4m platform, SPARCserver 600MP
SS-20 Sun4m platform, SPARCstation 20
SS-2 Sun4c platform, SPARCstation 2
Voyager Sun4m platform, SPARCstation Voyager
LX Sun4m platform, SPARCstation LX
SS-4 Sun4m platform, SPARCstation 4
SPARCClassic Sun4m platform, SPARCClassic
SPARCbook Sun4m platform, SPARCbook
SS-1000 Sun4d platform, SPARCserver 1000
SS-2000 Sun4d platform, SPARCcenter 2000