|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] vl: add -libvirt-caps option for libvirt to stop parsing help output |
Date: | Fri, 27 Jul 2012 17:04:45 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |