summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorEduardo Habkost2020-11-11 19:38:15 +0100
committerEduardo Habkost2020-12-15 16:01:32 +0100
commitf5730c69f00eaf7218ab79d1393d7197fcd9fe69 (patch)
tree14f3afd2d967c0d901eea74ae06d5eede1f96d8f /hw
parenttmp421: Register properties as class properties (diff)
downloadqemu-f5730c69f00eaf7218ab79d1393d7197fcd9fe69.tar.gz
qemu-f5730c69f00eaf7218ab79d1393d7197fcd9fe69.tar.xz
qemu-f5730c69f00eaf7218ab79d1393d7197fcd9fe69.zip
i386: Register feature bit properties as class properties
Class properties make QOM introspection simpler and easier, as they don't require an object to be instantiated. Also, the hundreds of instance properties were having an impact on QMP commands that create temporary CPU objects. On my machine, run time of qmp_query_cpu_definitions() changed from ~200ms to ~16ms after applying this patch. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20201111183823.283752-5-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions