aboutsummaryrefslogtreecommitdiff
path: root/main-loop.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-08-08 17:29:17 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-13 16:10:18 -0300
commit1405819637f53ed8021067eb3ea52e32bef2870b (patch)
tree6df885c8b79fe3aa75fdb26b4f6e9751e7029485 /main-loop.h
parent08b76b9fc3f0c25f062216955411aefaefabff89 (diff)
qmp: don't emit the RESET event on wakeup from S3
QEMU is basically using reset logic when waking up from S3. This causes the QMP RESET event to be emitted, which is wrong. Also, the runstate checks done in reset are not necessary for S3 wakeup. Fix this by untangling wakeup from reset logic and passing VMRESET_SILENT to qemu_system_reset() to avoid emitting the RESET event. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'main-loop.h')
0 files changed, 0 insertions, 0 deletions