From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtFUC-0001Qu-4w for qemu-devel@nongnu.org; Thu, 10 Jan 2013 05:35:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtFUA-0004IW-Nl for qemu-devel@nongnu.org; Thu, 10 Jan 2013 05:35:48 -0500 Received: from mail-qc0-f179.google.com ([209.85.216.179]:53346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtFUA-0004IP-Ec for qemu-devel@nongnu.org; Thu, 10 Jan 2013 05:35:46 -0500 Received: by mail-qc0-f179.google.com with SMTP id b14so239649qcs.38 for ; Thu, 10 Jan 2013 02:35:46 -0800 (PST) Sender: Paolo Bonzini Message-ID: <50EE997E.3060300@redhat.com> Date: Thu, 10 Jan 2013 11:35:42 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1357566928-25361-1-git-send-email-kraxel@redhat.com> <1357566928-25361-7-git-send-email-kraxel@redhat.com> <50EDB300.1030601@redhat.com> <50EE85A3.7070708@redhat.com> In-Reply-To: <50EE85A3.7070708@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 06/11] chardev: add file chardev support to chardev-add (qmp) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org Il 10/01/2013 10:10, Gerd Hoffmann ha scritto: > >> > Do we need the complexity of supporting fd passing explicitly? >> > 'getfd' is less than ideal compared to 'add-fd', and for 'add-fd', >> > we would pass via "path":"/dev/fdset/nnn". That is, why do we need >> > to bend over backwards to support an alternate syntax for fd >> > passing in a new command, when we can already use existing commands >> > to get fd passing for free? > Oh, didn't know that. Was just following what SocketAddress does and > what Paolo suggested. It isn't needed indeed. Yeah, I hadn't followed fdset either. We really need more documentation. Paolo