qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] QMP event missed during startup
@ 2017-10-30 10:50 Ross Lagerwall
  2017-10-30 17:18 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Lagerwall @ 2017-10-30 10:50 UTC (permalink / raw)
  To: qemu-devel@nongnu.org; +Cc: Markus Armbruster

Hi,

I have found an issue where QEMU emits the RESUME event during startup 
when it starts VM execution, but it is not possible to receive this event.

To repro this, run:
qemu-system-i386 -m 256 -trace 
enable=monitor_protocol_event_emit,file=/tmp/out -qmp 
unix:/tmp/qmp,server,wait

QEMU will not start execution of the VM until something connects to the 
QMP socket (e.g. qmp-shell). Once connected, no event is received on the 
QMP connection but the tracepoint is hit indicating that an event has 
been emitted. I suspect that the event is emitted while the QMP client 
is doing the initial negotiation.

The reason I want to receive this event is that QEMU currently uses 
xenstore to communicate this information to the Xen toolstack (see 
xen-common.c:xen_change_state_handler) but we want to move to using QMP 
rather than xenstore for this kind of thing.

Is this a known issue or just a bug that should be fixed?

Thanks,
-- 
Ross Lagerwall

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-10 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-30 10:50 [Qemu-devel] QMP event missed during startup Ross Lagerwall
2017-10-30 17:18 ` Dr. David Alan Gilbert
2017-11-09 14:14   ` Markus Armbruster
2017-11-10 10:43     ` Ross Lagerwall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).