From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuHCH-0004bs-43 for qemu-devel@nongnu.org; Tue, 10 Jun 2014 04:14:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuHCA-0002Hk-S6 for qemu-devel@nongnu.org; Tue, 10 Jun 2014 04:14:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuHCA-0002Hg-K4 for qemu-devel@nongnu.org; Tue, 10 Jun 2014 04:14:14 -0400 Message-ID: <5396BE52.70805@redhat.com> Date: Tue, 10 Jun 2014 10:14:10 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <5396A617.5020209@msgid.tls.msk.ru> <5396A6E7.8030400@redhat.com> <5396BD5C.6010507@msgid.tls.msk.ru> In-Reply-To: <5396BD5C.6010507@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8; format=flowed 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: Michael Tokarev , qemu-devel Il 10/06/2014 10:10, Michael Tokarev ha scritto: >> > 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. Yes, there is no code at all in Q35 to handle this (using ide_drive_get and ide_create_drive). > Again, should this drive be visible in qtree? At least with -M pc, > similarly added devices are shown properly there. Yes. Paolo