commit | 1405819637f53ed8021067eb3ea52e32bef2870b | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Wed Aug 08 17:29:17 2012 -0300 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Mon Aug 13 16:10:18 2012 -0300 |
tree | 6df885c8b79fe3aa75fdb26b4f6e9751e7029485 | |
parent | 08b76b9fc3f0c25f062216955411aefaefabff89 [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>