|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] CPU models and feature probing (was Re: [PATCH qom-cpu 00/16 v10] target-i386: convert CPU) features into properties |
Date: | Tue, 11 Feb 2014 22:38:17 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Il 11/02/2014 19:57, Anthony Liguori ha scritto:
> Erm, sorry, that is already implemented in qemu.git!? instance_post_init > by Eduardo plus glue by me.Ah, even better then :-)
Still, the code is a bit ad hoc. Static properties would let us remove that code and just read dc->props arrays along the hierarchy as usual.
Also, Igor reminded me offlist that right now we cannot dump the default values of the properties. With this series, one could extend the device-list-properties command with that information.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |