* [Qemu-devel] qxl screendump: how and why it is broken
@ 2012-03-06 17:21 Alon Levy
0 siblings, 0 replies; only message in thread
From: Alon Levy @ 2012-03-06 17:21 UTC (permalink / raw)
To: Luiz Capitulino, Gerd Hoffmann, Avi Kivity, qemu-devel
..and why we got to this situation.
(per Anthony's request, and if you'll excuse the puny attempt to write
biblically, a new beginning)
In the begining there was screendump. It was a synchronous monitor
command. Libvirt said: I want a screendump. And qemu waited for the vga
device to produce it. When the vga device said it was done, libvirt was
done.
Then there came qxl. Qxl used a spice library to render the contents. It
would say to libvirt: wait, while I read on this thread, which will tell
me I am done. And so it was possible to hang the libvirt process:
tl;dr if spice client hangs libvirt screenshot hangs and qemu's vcpus starve.
http://lists.gnu.org/archive/html/qemu-devel/2012-03/msg00864.html
Then a new patchset landed, which stopped the read, by waiting for a
callback from the spice server. It is here:
http://patchwork.ozlabs.org/patch/142985/
commited as 81fb6f1504fb9ef71f2382f44af34756668296e8
But now screendump for qxl is broken: It produces a file that is old,
because it calls ppm_save before spice server is done rendering.
Now we come to now. My understanding from the previous thread is:
* monitor async is not good because Luiz said so.
(yes, I know I'm putting my head in the sand here)
If the above is enough to convince you of $SUBJECT, then the
screendump-async patchset is still waiting review :)
http://patchwork.ozlabs.org/patch/144704/
http://patchwork.ozlabs.org/patch/144705/
http://patchwork.ozlabs.org/patch/144706/
Alon
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-06 17:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 17:21 [Qemu-devel] qxl screendump: how and why it is broken Alon Levy
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).