[google/syzkaller] e1ee7e: vm/qemu: handle QMP events

0 views
Skip to first unread message

Alexey Kardashevskiy

unread,
Oct 22, 2021, 2:19:12 AM10/22/21
to syzk...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/google/syzkaller
Commit: e1ee7e413ff064f6cd5867cc80970efcc6c333a7
https://github.com/google/syzkaller/commit/e1ee7e413ff064f6cd5867cc80970efcc6c333a7
Author: Alexey Kardashevskiy <a...@linux.ibm.com>
Date: 2021-10-22 (Fri, 22 Oct 2021)

Changed paths:
M vm/qemu/qmp.go

Log Message:
-----------
vm/qemu: handle QMP events

QEMU occasionally sends events in the same stream used for QMP commands
so from time time the received packet is not a QMP reponse but a QMP event
which breaks the parser. For example, events are send when a machine state
changed.

This adds basic support for event. For now we skip them and wait until
the expected QMP command response arrives.

Signed-off-by: Alexey Kardashevskiy <a...@linux.ibm.com>


Reply all
Reply to author
Forward
0 new messages