aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-11-12 00:39:13 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-12 11:23:56 -0600
commit504c2948d3fb8d188d6e886cf6584edd344c1b46 (patch)
tree11adf1ded0fa081f145f3994c92672f38bb62f49 /vl.c
parent2966b390d0f7cd5e5b971290fcc20685de374228 (diff)
qemu_system_reset: we need to call it before loadvm/migration
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index bf91ee15d4..fff8e8d468 100644
--- a/vl.c
+++ b/vl.c
@@ -4044,7 +4044,6 @@ static void main_loop(void)
qemu_system_ready = 1;
qemu_cond_broadcast(&qemu_system_cond);
#endif
- qemu_system_reset();
for (;;) {
do {
@@ -5835,6 +5834,7 @@ int main(int argc, char **argv, char **envp)
rom_load_all();
+ qemu_system_reset();
if (loadvm) {
if (load_vmstate(cur_mon, loadvm) < 0) {
autostart = 0;