From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuH8G-0006iv-7V for qemu-devel@nongnu.org; Tue, 10 Jun 2014 04:10:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuH89-0000mG-Tu for qemu-devel@nongnu.org; Tue, 10 Jun 2014 04:10:12 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:41881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuH89-0000kG-M9 for qemu-devel@nongnu.org; Tue, 10 Jun 2014 04:10:05 -0400 Message-ID: <5396BD5C.6010507@msgid.tls.msk.ru> Date: Tue, 10 Jun 2014 12:10:04 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <5396A617.5020209@msgid.tls.msk.ru> <5396A6E7.8030400@redhat.com> In-Reply-To: <5396A6E7.8030400@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Are -cdrom/-hda (or -drive if=ide) supposed to work in q35? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel 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