qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] vl: add -libvirt-caps option for libvirt to sto


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] vl: add -libvirt-caps option for libvirt to stop parsing help output
Date: Fri, 27 Jul 2012 10:27:27 -0500
User-agent: Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

Paolo Bonzini <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]