From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47195 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOZUT-00043a-3x for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:59:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOZUR-0005Ny-Vi for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:59:56 -0400 Received: from thoth.sbs.de ([192.35.17.2]:17198) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOZUR-0005Nc-G7 for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:59:55 -0400 Message-ID: <4C17B181.8060008@siemens.com> Date: Tue, 15 Jun 2010 18:59:45 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1276619430-15871-1-git-send-email-aliguori@us.ibm.com> <1276619430-15871-10-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1276619430-15871-10-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [CFR 9/10] device_del command List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Luiz Capitulino , qemu-devel@nongnu.org, Stefan Hajnoczi , Markus Armbruster Anthony Liguori wrote: > device_del > ---------- > > Remove a device. > > Arguments: > > - "id": the device's ID (json-string) "id" should become "device" (I hope to send the corresponding patches this night). The idea is to not only allow global device IDs but also qtree paths here. > > Example: > > -> { "execute": "device_del", "arguments": { "id": "net1" } } > <- { "return": {} } > > > A reference to docs/qdev-device-use.txt would be good here as well (as done for device_add). Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux