From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwGce-0001jj-Kf for qemu-devel@nongnu.org; Fri, 09 Oct 2009 10:39:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwGca-0001g5-TZ for qemu-devel@nongnu.org; Fri, 09 Oct 2009 10:39:08 -0400 Received: from [199.232.76.173] (port=54640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwGca-0001fv-H1 for qemu-devel@nongnu.org; Fri, 09 Oct 2009 10:39:04 -0400 Received: from mail-fx0-f214.google.com ([209.85.220.214]:45601) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwGca-0006vA-51 for qemu-devel@nongnu.org; Fri, 09 Oct 2009 10:39:04 -0400 Received: by fxm10 with SMTP id 10so6503945fxm.8 for ; Fri, 09 Oct 2009 07:39:02 -0700 (PDT) Message-ID: <4ACF4AFA.80804@codemonkey.ws> Date: Fri, 09 Oct 2009 09:38:50 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [libvirt] dynamic scsi disk attach seems to be broken in qemu(-kvm)-0.11, libvirt-0.7.1 References: <20091009081822.GB27937@redhat.com> In-Reply-To: <20091009081822.GB27937@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: libvir-list@redhat.com, Dustin Kirkland , kvm@vger.kernel.org, qemu-devel@nongnu.org >> I would like some advice on how to proceed with this bug, and where >> the solution lies...in qemu or in libvirt. Ultimately, 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: >> pci_add 1 storage file=/tmp/foo,if=scsi >> >> Can anyone else reproduce this? Is this considered a regression by >> anyone else? Where 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, so > if it doesn't then this is a regression that needs to be fixed > There's definitely a bug somewhere. When you add a second PCI controller, the controller shows up in the guest but the disk attached to the controller isn't visible. Rescanning the scsi bus does not make the disk appear either. Regards, Anthony Liguori