From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwHNr-0005j9-HG for qemu-devel@nongnu.org; Fri, 09 Oct 2009 11:27:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwHNm-0005dl-Sx for qemu-devel@nongnu.org; Fri, 09 Oct 2009 11:27:55 -0400 Received: from [199.232.76.173] (port=57394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwHNm-0005dZ-O1 for qemu-devel@nongnu.org; Fri, 09 Oct 2009 11:27:50 -0400 Received: from mail-bw0-f211.google.com ([209.85.218.211]:40802) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwHNm-0007It-Bb for qemu-devel@nongnu.org; Fri, 09 Oct 2009 11:27:50 -0400 Received: by bwz7 with SMTP id 7so1963046bwz.34 for ; Fri, 09 Oct 2009 08:27:48 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4ACF4AFA.80804@codemonkey.ws> References: <20091009081822.GB27937@redhat.com> <4ACF4AFA.80804@codemonkey.ws> Date: Fri, 9 Oct 2009 10:27:48 -0500 Message-ID: Subject: Re: [Qemu-devel] Re: [libvirt] dynamic scsi disk attach seems to be broken in qemu(-kvm)-0.11, libvirt-0.7.1 From: Dustin Kirkland Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: libvir-list@redhat.com, qemu-devel@nongnu.org, kvm@vger.kernel.org On Fri, Oct 9, 2009 at 9:38 AM, Anthony Liguori wro= te: >>> I would like some advice on how to proceed with this bug, and where >>> the solution lies...in qemu or in libvirt. =A0Ultimately, I would like >>> the behavior we had in our previous release with kvm-84 and >>> libvirt-0.6.1, where we could dynamically add scsi devices without a >>> problem, using: >>> =A0pci_add 1 storage file=3D/tmp/foo,if=3Dscsi >>> >>> Can anyone else reproduce this? =A0Is this considered a regression by >>> anyone else? =A0Where should I look to solve this, in libvirt, or in >>> qemu? >>> >> >> Independently of what I said about libvirt not implementing SCSI hotplug >> with the right apporoach, the pci-add stuff should definitely work, =A0s= o if >> it doesn't then this is a regression that needs to be fixed >> > > There's definitely a bug somewhere. =A0When you add a second PCI controll= er, > the controller shows up in the guest but the disk attached to the control= ler > isn't visible. =A0Rescanning the scsi bus does not make the disk appear > either. Okay, thanks for confirming this, Anthony. I have added a task against upstream QEMU at: * https://bugs.edge.launchpad.net/ubuntu/+source/qemu-kvm/+bug/432154 :-Dustin