From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59874 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLef9-0008CG-3K for qemu-devel@nongnu.org; Mon, 07 Jun 2010 11:54:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLef5-0001l2-S3 for qemu-devel@nongnu.org; Mon, 07 Jun 2010 11:54:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33436) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLef5-0001kj-LT for qemu-devel@nongnu.org; Mon, 07 Jun 2010 11:54:51 -0400 Message-ID: <4C0D1646.7060506@redhat.com> Date: Mon, 07 Jun 2010 18:54:46 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1275660360-12137-1-git-send-email-miguel.filho@gmail.com> <4C0BC3C4.6010207@redhat.com> <4C0CF67B.8080601@redhat.com> <4C0CF89A.9030202@codemonkey.ws> In-Reply-To: <4C0CF89A.9030202@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [RFC] QMP: Introduce query-netdevices documentation List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: lcapitulino@redhat.com, Miguel Di Ciurcio Filho , qemu-devel@nongnu.org, armbru@redhat.com On 06/07/2010 04:48 PM, Anthony Liguori wrote: >> Yes. I'd want separate queries for each, or perhaps a single query >> that returns >> >> { 'hostdev': some-object-with-host-device-properties-only, 'nic': >> some-object-that-describes-the-guest-nic } > > > We need a query-netdev and then info qdm already provides the guest > nic properties. Just filter out devices that have a netdev property. Agreed, no reason for a specialized 'get-all-guest-devices-that-happen-to-be-nics' query. -- error compiling committee.c: too many arguments to function