From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUits-0004tL-TA for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:38:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUits-0004sq-74 for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:38:48 -0500 Received: from [199.232.76.173] (port=37865 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUitr-0004sm-RO for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:38:47 -0500 Received: from mx2.redhat.com ([66.187.237.31]:46356) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUitr-0007zC-Dj for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:38:47 -0500 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n14EckIq021994 for ; Wed, 4 Feb 2009 09:38:46 -0500 Date: Wed, 4 Feb 2009 14:38:43 +0000 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] [patch 18/18] qemu: PCI device, disk and host network hot-add / hot-remove Message-ID: <20090204143843.GA26946@redhat.com> References: <20090204133303.113145633@localhost.localdomain> <20090204133924.976199377@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090204133924.976199377@localhost.localdomain> Reply-To: "Daniel P. Berrange" , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marcelo Tosatti On Wed, Feb 04, 2009 at 11:33:21AM -0200, Marcelo Tosatti wrote: > Add monitor command to hot-add PCI devices (nic and storage). > > Syntax is: > > pci_add pcibus nic|storage params > > It returns the bus slot and function for the newly added device on success. > > It is possible to attach a disk to a device after PCI initialization via > the drive_add command. If so, a manual scan of the SCSI bus on the guest > is necessary. > > Save QEMUMachine necessary for drive_init. > > Add monitor command to hot-remove devices, remove device data on _EJ0 notification. Does this allow for hot-add of host TAP devices passing a open file descriptor across with SCM_RIGHTS (man 7 unix) on the UNIX domain socket connection to the monitor ? This ability is critical for libvirt, because we need to be able to allocate the TAP devices ourselves & do various configuration tasks before giving them to QEMU - the external script capability isn't suitable /flexible enough for this. Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|