[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/4] wakeup on migration
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 1/4] wakeup on migration |
Date: |
Fri, 4 May 2012 12:01:59 -0300 |
From: Gerd Hoffmann <address@hidden>
Wakeup the guest when the live part of the migation is finished.
This avoids being in suspended state on migration, so we don't
have to save the is_suspended bit.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Luiz Capitulino <address@hidden>
---
migration.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/migration.c b/migration.c
index 94f7839..f9e968e 100644
--- a/migration.c
+++ b/migration.c
@@ -252,6 +252,7 @@ static void migrate_fd_put_ready(void *opaque)
int old_vm_running = runstate_is_running();
DPRINTF("done iterating\n");
+ qemu_system_wakeup_request(QEMU_WAKEUP_REASON_OTHER);
vm_stop_force_state(RUN_STATE_FINISH_MIGRATE);
if (qemu_savevm_state_complete(s->file) < 0) {
--
1.7.9.2.384.g4a92a
- [Qemu-devel] [PATCH v2 0/4]: runstate: introduce 'suspended' state, Luiz Capitulino, 2012/05/04
- [Qemu-devel] [PATCH 4/4] vl: prop is_suspended variable, Luiz Capitulino, 2012/05/04
- [Qemu-devel] [PATCH 1/4] wakeup on migration,
Luiz Capitulino <=
- [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Luiz Capitulino, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Paolo Bonzini, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Luiz Capitulino, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Eric Blake, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Luiz Capitulino, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Paolo Bonzini, 2012/05/05
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Luiz Capitulino, 2012/05/06
[Qemu-devel] [PATCH 2/4] qapi-schema.json: fix RunState enums alphabetical order, Luiz Capitulino, 2012/05/04