Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWRRd-0008AG-UE for qemu-devel@nongnu.org; Mon, 09 Feb 2009 03:24:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWRRc-0008A4-S8 for qemu-devel@nongnu.org; Mon, 09 Feb 2009 03:24:45 -0500 Received: from [199.232.76.173] (port=57488 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWRRc-0008A1-No for qemu-devel@nongnu.org; Mon, 09 Feb 2009 03:24:44 -0500 Received: from mx20.gnu.org ([199.232.41.8]:6144) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWRRc-00022O-6X for qemu-devel@nongnu.org; Mon, 09 Feb 2009 03:24:44 -0500 Received: from mx2.redhat.com ([66.187.237.31]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWRRb-0003SG-EF for qemu-devel@nongnu.org; Mon, 09 Feb 2009 03:24:43 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n198OgCn001095 for ; Mon, 9 Feb 2009 03:24:42 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n198Og46031072 for ; Mon, 9 Feb 2009 03:24:42 -0500 Received: from pike.pond.sub.org (vpn-10-75.str.redhat.com [10.32.10.75]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n198OgR7003078 for ; Mon, 9 Feb 2009 03:24:42 -0500 Subject: Re: [Qemu-devel] [patch 2/2] qemu: PCI device, disk and host network hot-add / hot-remove References: <20090206174406.589893548@amt.cnet> <20090206174840.681967121@amt.cnet> <498EAF22.1030902@redhat.com> <20090208172844.GA3854@amt.cnet> From: Markus Armbruster Date: Mon, 09 Feb 2009 09:24:40 +0100 In-Reply-To: <20090208172844.GA3854@amt.cnet> (Marcelo Tosatti's message of "Sun\, 8 Feb 2009 15\:28\:45 -0200") Message-ID: <87ocxckofr.fsf@pike.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcelo Tosatti Cc: Avi Kivity , qemu-devel@nongnu.org Marcelo Tosatti writes: > On Sun, Feb 08, 2009 at 12:08:34PM +0200, Avi Kivity wrote: >> Marcelo Tosatti wrote: >>> Add monitor command to hot-add PCI devices (nic and storage). >>> Syntax is: >>> pci_add pci_addr=[[:]:] nic|storage params >>> It returns the domain, bus and slot for the newly added device on >>> success >> >> Instead of returning something, how about >> >> pci_add pci_addr=...,name=blah >> >> and then >> >> pci_del blah >> >> 'info pci' could also output the name so that it could be associated >> with the bus address. > > Sure that can be done. Like an alias. So you identify > with a name. I can see it simplifies direct management of hotplug on the > monitor. > > Markus, Daniel, any comments on that? No objections from me, but Dan is the man to tell us what simplifies management software and what doesn't.