aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-11-11 13:38:15 -0500
committerEduardo Habkost <ehabkost@redhat.com>2020-12-15 10:01:32 -0500
commitf5730c69f00eaf7218ab79d1393d7197fcd9fe69 (patch)
tree14f3afd2d967c0d901eea74ae06d5eede1f96d8f /hw
parent0b43b6e53493d980008869f817a216ccb2078c06 (diff)
downloadqemu-f5730c69f00eaf7218ab79d1393d7197fcd9fe69.zip
qemu-f5730c69f00eaf7218ab79d1393d7197fcd9fe69.tar.gz
qemu-f5730c69f00eaf7218ab79d1393d7197fcd9fe69.tar.bz2
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