From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [patch 14/23] QEMU/KVM: device hot-add Date: Tue, 11 Mar 2008 11:18:06 -0300 Message-ID: <20080311141806.GA10417@dmt> References: <20080304183419.187172133@localhost.localdomain> <20080304183903.567712544@localhost.localdomain> <47CE3496.4080409@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Glauber Costa To: Avi Kivity Return-path: Content-Disposition: inline In-Reply-To: <47CE3496.4080409@qumranet.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org On Wed, Mar 05, 2008 at 07:50:14AM +0200, Avi Kivity wrote: > Marcelo Tosatti wrote: > >Add monitor command to hot-add PCI devices (nic and drive). > > > > > > A drive is not a pci device. One would hot-plug a scsi controller, and > then hot-plug a device to that controller. Changed the syntax from "pci_add drive" to "pci_add storage". However I'm keeping the possibility of adding a drive to a storage controller before it is hotplugged for two reasons: - SCSI drive hotplug is not automatic (at least with the sym53c8xx controller that is emulated). Its necessary to manually add the drive in the guest OS. - Each virtio-block device is currently tied to a single valid file/device. A new "drive_add" command has been added to hot-add drives to SCSI controllers. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/