From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41324 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOZGY-0006sM-1y for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:45:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOZGW-0002je-TU for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:45:33 -0400 Received: from mail-iw0-f173.google.com ([209.85.214.173]:33471) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOZGW-0002jY-PP for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:45:32 -0400 Received: by iwn10 with SMTP id 10so5546012iwn.4 for ; Tue, 15 Jun 2010 09:45:32 -0700 (PDT) Message-ID: <4C17AE39.1000604@codemonkey.ws> Date: Tue, 15 Jun 2010 11:45:45 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [CFR 5/10] closefd command References: <1276619430-15871-1-git-send-email-aliguori@us.ibm.com> <1276619430-15871-6-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1276619430-15871-6-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 On 06/15/2010 11:30 AM, Anthony Liguori wrote: > closefd > ------- > > Close a file descriptor previously passed via SCM rights. > > Arguments: > > - "fdname": file descriptor name (json-string) > I wonder if setfd/closefd should be QMP functions or whether we should make it core features of the protocol? Regards, Anthony Liguori > Example: > > -> { "execute": "closefd", "arguments": { "fdname": "fd1" } } > <- { "return": {} } > > >