aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-07-22 16:17:51 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2019-08-21 17:17:39 +1000
commitc508bd12f65e14f82eb62e462bcb64898d8806a6 (patch)
tree4f2d348eb12c5f5d21cd14c3f9e6f67eceeb2aa8 /vl.c
parent4b5e06c9465ece90b48cb0b978c0b898ea46e133 (diff)
i386: use machine class ->wakeup method
Move the i386 suspend_wakeup logic out of the fallback path, and into the new ->wakeup method. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Message-Id: <20190722061752.22114-1-npiggin@gmail.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 09aa18cb35..8e5af7501f 100644
--- a/vl.c
+++ b/vl.c
@@ -1568,8 +1568,6 @@ static void qemu_system_wakeup(void)
if (mc && mc->wakeup) {
mc->wakeup(current_machine);
- } else {
- qemu_system_reset(SHUTDOWN_CAUSE_NONE);
}
}