summary refs log tree commit diff stats
path: root/hw/misc/aspeed_sdmc.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2016-09-02 15:59:44 -0300
committerEduardo Habkost <ehabkost@redhat.com>2016-09-05 16:03:47 -0300
commit6546d0dba6c211c1a3eac1252a4f50a0c151a08a (patch)
treec954a8d1fbe0c4a220b0e63629277a775f975351 /hw/misc/aspeed_sdmc.c
parentcdafe929615ec5eca71bcd5a3d12bab5678e5886 (diff)
downloadfocaccia-qemu-6546d0dba6c211c1a3eac1252a4f50a0c151a08a.tar.gz
focaccia-qemu-6546d0dba6c211c1a3eac1252a4f50a0c151a08a.zip
vl: Delay initialization of memory backends
Initialization of memory backends may take a while when
prealloc=yes is used, depending on their size. Initializing
memory backends before chardevs may delay the creation of monitor
sockets, and trigger timeouts on management software that waits
until the monitor socket is created by QEMU. See, for example,
the bug report at:
https://bugzilla.redhat.com/show_bug.cgi?id=1371211

In addition to that, allocating memory before calling
configure_accelerator() breaks the tcg_enabled() checks at
memory_region_init_*().

This patch fixes those problems by adding "memory-backend-*"
classes to the delayed-initialization list.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/misc/aspeed_sdmc.c')
0 files changed, 0 insertions, 0 deletions