From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sum63-0000EE-BA for qemu-devel@nongnu.org; Fri, 27 Jul 2012 11:05:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sum61-0007bY-9p for qemu-devel@nongnu.org; Fri, 27 Jul 2012 11:04:55 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:59010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sum61-0007FU-23 for qemu-devel@nongnu.org; Fri, 27 Jul 2012 11:04:53 -0400 Received: by mail-pb0-f45.google.com with SMTP id ro12so4974590pbb.4 for ; Fri, 27 Jul 2012 08:04:52 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5012AE0D.6000806@redhat.com> Date: Fri, 27 Jul 2012 17:04:45 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1343245677-20904-1-git-send-email-aliguori@us.ibm.com> <20120726124723.GG12180@redhat.com> <20120726130725.GH12180@redhat.com> <87ipda7gw5.fsf@codemonkey.ws> In-Reply-To: <87ipda7gw5.fsf@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] vl: add -libvirt-caps option for libvirt to stop parsing help output List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , qemu-devel@nongnu.org, Eric Blake , Markus Armbruster Il 26/07/2012 16:10, Anthony Liguori ha scritto: > Yup. > > You could do: > > qom-list-types implements=TYPE_DEVICE > > And that will give you the various types. We'll need to add a: > > device-list-properties typename=FOO > > I've got a patch locally for that that I'm testing right now. Paolo and > I never came to an agreement on how to do this generically for Objects > but I'm happy with a device-specific interface for the short term. I don't like the idea of using object_new, but it obviously works at least for now, so go ahead and call it qom-type-list-properties. Paolo