From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SumTA-0007kJ-8e for qemu-devel@nongnu.org; Fri, 27 Jul 2012 11:28:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SumSz-0008WK-PA for qemu-devel@nongnu.org; Fri, 27 Jul 2012 11:28:48 -0400 Received: from e7.ny.us.ibm.com ([32.97.182.137]:59277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SumSz-0008WB-LV for qemu-devel@nongnu.org; Fri, 27 Jul 2012 11:28:37 -0400 Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Jul 2012 11:28:36 -0400 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 85824C9001C for ; Fri, 27 Jul 2012 11:27:40 -0400 (EDT) Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6RFRawL29818944 for ; Fri, 27 Jul 2012 11:27:36 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6RFRXQr010688 for ; Fri, 27 Jul 2012 12:27:36 -0300 From: Anthony Liguori In-Reply-To: <5012AE0D.6000806@redhat.com> References: <1343245677-20904-1-git-send-email-aliguori@us.ibm.com> <20120726124723.GG12180@redhat.com> <20120726130725.GH12180@redhat.com> <87ipda7gw5.fsf@codemonkey.ws> <5012AE0D.6000806@redhat.com> Date: Fri, 27 Jul 2012 10:27:27 -0500 Message-ID: <87pq7hfcm8.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Paolo Bonzini Cc: Peter Maydell , qemu-devel@nongnu.org, Eric Blake , Markus Armbruster Paolo Bonzini writes: > 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. My patch doesn't use object_new() to do it. It uses static properties. I'm going to try to push static properties to object. If I can do that before 1.2, I'll rename this function to qom-type-list-properties. Regards, Anthony Liguori > > Paolo