18.05.2013 19:53, Paolo Bonzini wrote: > Il 18/05/2013 16:39, Michael Tokarev ha scritto: >> And I don't really know how to add scsi device to qemu ppc. >> >> qemu-system-ppc -drive file=foo,if=scsi
> For example: > > qemu-system-ppc -drive file=foo,if=none,id=hd -device \ > megasas -device scsi-disk,drive=hd This creates megasas device in the guest, but it does not work still, at least with the debian wheezy (current) kernel. It tries to load megaraid_sas module, and is getting this: scsi3 : LSI SAS based MegaRAID driver irq 22: nobody cared (try booting with the "irqpool" option) ... --- Exception: 501 at __do_softirq+0x6c/0x1dc LR = call_do_softirq+0x14/0x24 ... --- Exception: 501 at megasas_fire_cmd_ppc+0x28/0x2c [megaraid_sas] LR = megasas_issue_dcmd+0x28/0x38 [megaraid_sas] ... Disabling IRQ #22 scsi 3:0:0:0: megasas: RESET cmd=12 retries=0 megasas: [ 0]waiting for 1 commands to complete megasas: [10]waiting for 1 commands to complete INFO: task modprobe:4017 blocked for more than 120 seconds. ... and so on. So I'm afraid megasas isn't exactly useful in this situation. Thanks, /mjt