From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LW6ae-0006zI-0M for qemu-devel@nongnu.org; Sun, 08 Feb 2009 05:08:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LW6ac-0006vg-9Q for qemu-devel@nongnu.org; Sun, 08 Feb 2009 05:08:39 -0500 Received: from [199.232.76.173] (port=53037 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LW6ac-0006vW-4t for qemu-devel@nongnu.org; Sun, 08 Feb 2009 05:08:38 -0500 Received: from mx2.redhat.com ([66.187.237.31]:42328) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LW6ab-0005iL-MJ for qemu-devel@nongnu.org; Sun, 08 Feb 2009 05:08:37 -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 n18A8b97029312 for ; Sun, 8 Feb 2009 05:08:37 -0500 Message-ID: <498EAF22.1030902@redhat.com> Date: Sun, 08 Feb 2009 12:08:34 +0200 From: Avi Kivity MIME-Version: 1.0 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> In-Reply-To: <20090206174840.681967121@amt.cnet> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: 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 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. -- error compiling committee.c: too many arguments to function