summaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-02-12 22:57:44 -0200
committerEduardo Habkost <ehabkost@redhat.com>2016-05-23 19:47:37 -0300
commit57f2453ab48a771b30aeced01b329ee85853bb7b (patch)
tree7cd0ddf9d7f02c06332bbdbee620f77a231d9edb /tcg
parent4fe15cdedf8728e58b8e475f8b1a26fb16aa9caa (diff)
downloadqemu-57f2453ab48a771b30aeced01b329ee85853bb7b.tar.gz
qemu-57f2453ab48a771b30aeced01b329ee85853bb7b.tar.bz2
qemu-57f2453ab48a771b30aeced01b329ee85853bb7b.zip
target-i386: Move TCG initialization to realize time
QOM instance_init functions are not supposed to have any side-effects, as new objects may be created at any moment for querying property information (see qmp_device_list_properties()). Move TCG initialization to realize time so it won't be called when just doing object_new() on a X86CPU subclass. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions