On Thu, Jun 14, 2012 at 11:34:37PM +0200, Alexander Graf wrote:
/home/rjones/d/qemu/ppc64-softmmu/qemu-system-ppc64 \
-global virtio-blk-pci.scsi=off \
-nodefconfig \
-nodefaults \
-nographic \
-device virtio-scsi-pci,id=scsi \
-drive file=test1.img,cache=off,format=raw,id=hd0,if=none \
-device scsi-hd,drive=hd0 \
Don't you have to specify bus= too?
I don't know. The identical command line works on x86-64, but I
don't know if it's correct.
BTW KVM PR now boots the firmware, but fails when it tries to boot our
(Fedora) guest kernel because of missing emulation of 'ldx':
[764597.404573] Couldn't emulate instruction 0x7fb6502a (op 31 xop 21)
[764597.404583] kvmppc_emulate_mmio: emulation failed (7fb6502a)
[768211.269020] Couldn't emulate instruction 0x7fb6502a (op 31 xop 21)
[768211.269029] kvmppc_emulate_mmio: emulation failed (7fb6502a)
I will try to see if I can fix this and submit a patch if I'm
successful.