All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Are -cdrom/-hda (or -drive if=ide) supposed to work in q35?
Date: Tue, 10 Jun 2014 12:10:04 +0400	[thread overview]
Message-ID: <5396BD5C.6010507@msgid.tls.msk.ru> (raw)
In-Reply-To: <5396A6E7.8030400@redhat.com>

10.06.2014 10:34, Paolo Bonzini wrote:
> Il 10/06/2014 08:30, Michael Tokarev ha scritto:
>> Hello.
>>
>> The question is: are the drive shortcuts - -cdrom, -hda, -hdb etc -
>> supposed to work in -machine q35 too?  Or are they merely ignored?
>>
>>   qemu-system-x86_64 -machine q35 -cdrom foo.img
[]
> It should work.  I remember some complications due to AHCI not having slaves, but it is a bug.

It looks like the "short" -drive if=ide option does not connect the
created drive to any bus at all.  With the above command, or with
-drive if=ide,index=*,bus=*, info qtree does not show the drive at
all.  While -drive if=none,id=X -device ide-cd,drive=X connects the
drive to the right bus just fine.

Again, should this drive be visible in qtree?  At least with -M pc,
similarly added devices are shown properly there.

Thanks,

/mjt

  reply	other threads:[~2014-06-10  8:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10  6:30 [Qemu-devel] Are -cdrom/-hda (or -drive if=ide) supposed to work in q35? Michael Tokarev
2014-06-10  6:34 ` Paolo Bonzini
2014-06-10  8:10   ` Michael Tokarev [this message]
2014-06-10  8:14     ` Paolo Bonzini
2014-06-12  9:03     ` Markus Armbruster
2014-08-01 20:10       ` John Snow
2014-08-01 20:17         ` Michael Tokarev
2014-08-05  8:30         ` Kevin Wolf
2014-08-05  9:13           ` Markus Armbruster
2014-08-05  9:30             ` Kevin Wolf
2014-08-05  9:32               ` Michael Tokarev
2014-08-05 11:05                 ` Markus Armbruster
2014-08-05 11:01               ` Markus Armbruster
2014-08-05 21:14           ` John Snow
2014-08-06  9:07             ` Kevin Wolf
2014-08-14 20:09       ` [Qemu-devel] IF_AHCI RFC (Was Re: Are -cdrom/-hda (or -drive if=ide) supposed to work in q35?) John Snow

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=5396BD5C.6010507@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.