From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] Re: [libvirt] dynamic scsi disk attach seems to be broken in qemu(-kvm)-0.11, libvirt-0.7.1 Date: Fri, 09 Oct 2009 09:38:50 -0500 Message-ID: <4ACF4AFA.80804@codemonkey.ws> References: <20091009081822.GB27937@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: libvir-list@redhat.com, kvm@vger.kernel.org, qemu-devel@nongnu.org To: "Daniel P. Berrange" Return-path: In-Reply-To: <20091009081822.GB27937@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com List-Id: kvm.vger.kernel.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