qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: [Qemu-devel] drive_add 0 if=scsi crashes
Date: Mon, 26 Nov 2012 14:42:14 +0100	[thread overview]
Message-ID: <50B371B6.6060107@redhat.com> (raw)
In-Reply-To: <87boepybuj.fsf@blackfin.pond.sub.org>

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

      parent reply	other threads:[~2012-11-26 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22 14:02 [Qemu-devel] drive_add 0 if=scsi crashes Markus Armbruster
2012-11-22 15:17 ` Paolo Bonzini
2012-11-23 15:27   ` Markus Armbruster
2012-11-26 13:42 ` Kevin Wolf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B371B6.6060107@redhat.com \
    --to=kwolf@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=armbru@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).