From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMeV7-0002nv-Pj for qemu-devel@nongnu.org; Fri, 12 Oct 2012 08:38:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMeV3-0005Fs-5L for qemu-devel@nongnu.org; Fri, 12 Oct 2012 08:38:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMeV2-0005Fj-Sm for qemu-devel@nongnu.org; Fri, 12 Oct 2012 08:37:57 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9CCbuR2014833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 12 Oct 2012 08:37:56 -0400 Message-ID: <50780F22.7030106@redhat.com> Date: Fri, 12 Oct 2012 14:37:54 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1350033962-16665-1-git-send-email-kraxel@redhat.com> <1350033962-16665-8-git-send-email-kraxel@redhat.com> <5077EF88.2070708@redhat.com> <5077F5EB.1080103@redhat.com> <5077FBE6.2040107@redhat.com> <5077FC61.50708@redhat.com> In-Reply-To: <5077FC61.50708@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 7/7] chardev: add hotplug support. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On 10/12/12 13:17, Paolo Bonzini wrote: > Il 12/10/2012 13:15, Gerd Hoffmann ha scritto: >>>> In principle you're right, but I think it's ugly that adding another >>>> chardev argument needs changes in 3 places instead of just one. >> Hmm, I don't have to use the generated marshaller, right? With direct >> access to the QDict I could just transform it into a QemuOpts. > > That's exactly what I was suggesting. :P Ah, ok. I actually looked at netdev_add but obviously not close enougth. On a quick glance it looked to me like @params is a single string, not a varargs-style construct. Guess we are on the same page then. cheers, Gerd