diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-08-08 17:29:17 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-08-13 16:10:18 -0300 |
commit | 1405819637f53ed8021067eb3ea52e32bef2870b (patch) | |
tree | 6df885c8b79fe3aa75fdb26b4f6e9751e7029485 /QMP | |
parent | 08b76b9fc3f0c25f062216955411aefaefabff89 (diff) | |
download | qemu-1405819637f53ed8021067eb3ea52e32bef2870b.tar.gz qemu-1405819637f53ed8021067eb3ea52e32bef2870b.tar.bz2 qemu-1405819637f53ed8021067eb3ea52e32bef2870b.zip |
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 'QMP')
0 files changed, 0 insertions, 0 deletions