[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] drive_add 0 if=scsi crashes
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] drive_add 0 if=scsi crashes |
Date: |
Mon, 26 Nov 2012 14:42:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
Am 22.11.2012 15:02, schrieb Markus Armbruster:
> Watch this:
>
> (qemu) drive_add 0 if=scsi
> Segmentation fault (core dumped)
>
> Broken in commit 0d936928 "qdev: Convert busses to QEMU Object Model".
> Before:
>
> (qemu) drive_add 0 if=scsi
> Device is not a SCSI adapter
I have a patch in my development tree for this. Didn't get committed
because it wasn't clear to me how to fix the second part:
(qemu) drive_add 1 file=/tmp/test.qcow2,if=scsi
Object 0x7f84a1cf6190 is not an instance of type SCSI
Abgebrochen
And when Anthony finally replied, I was too busy to actually complete
the fix. I'll do that now.
Kevin