diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-02-12 22:57:44 -0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-05-23 19:47:37 -0300 |
commit | 57f2453ab48a771b30aeced01b329ee85853bb7b (patch) | |
tree | 7cd0ddf9d7f02c06332bbdbee620f77a231d9edb /module-common.c | |
parent | 4fe15cdedf8728e58b8e475f8b1a26fb16aa9caa (diff) | |
download | qemu-57f2453ab48a771b30aeced01b329ee85853bb7b.zip qemu-57f2453ab48a771b30aeced01b329ee85853bb7b.tar.gz qemu-57f2453ab48a771b30aeced01b329ee85853bb7b.tar.bz2 |
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 'module-common.c')
0 files changed, 0 insertions, 0 deletions