Searched hist:"0 d9b90ce5c73505648909a89bcd5272081b9c348" (Results 1 – 4 of 4) sorted by relevance
/qemu/monitor/ |
H A D | hmp-cmds.c | 0d9b90ce5c73505648909a89bcd5272081b9c348 Tue Oct 27 13:36:02 UTC 2020 Marc-André Lureau <marcandre.lureau@redhat.com> console: make QMP/HMP screendump run in coroutine
Thanks to the monitors' coroutine support (merge commit b7092cda1b3), the screendump handler can trigger a graphic_hw_update(), yield and let the main loop run until update is done. Then the handler is resumed, and ppm_save() will write the screen image to disk in the coroutine context.
The IO is still blocking though, as the file is set blocking so far, this could be addressed by some future change (with other caveats).
Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1230527
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 20201027133602.3038018-4-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
/qemu/qapi/ |
H A D | ui.json | 0d9b90ce5c73505648909a89bcd5272081b9c348 Tue Oct 27 13:36:02 UTC 2020 Marc-André Lureau <marcandre.lureau@redhat.com> console: make QMP/HMP screendump run in coroutine
Thanks to the monitors' coroutine support (merge commit b7092cda1b3), the screendump handler can trigger a graphic_hw_update(), yield and let the main loop run until update is done. Then the handler is resumed, and ppm_save() will write the screen image to disk in the coroutine context.
The IO is still blocking though, as the file is set blocking so far, this could be addressed by some future change (with other caveats).
Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1230527
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 20201027133602.3038018-4-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
/qemu/ |
H A D | hmp-commands.hx | 0d9b90ce5c73505648909a89bcd5272081b9c348 Tue Oct 27 13:36:02 UTC 2020 Marc-André Lureau <marcandre.lureau@redhat.com> console: make QMP/HMP screendump run in coroutine
Thanks to the monitors' coroutine support (merge commit b7092cda1b3), the screendump handler can trigger a graphic_hw_update(), yield and let the main loop run until update is done. Then the handler is resumed, and ppm_save() will write the screen image to disk in the coroutine context.
The IO is still blocking though, as the file is set blocking so far, this could be addressed by some future change (with other caveats).
Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1230527
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 20201027133602.3038018-4-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
/qemu/ui/ |
H A D | console.c | 0d9b90ce5c73505648909a89bcd5272081b9c348 Tue Oct 27 13:36:02 UTC 2020 Marc-André Lureau <marcandre.lureau@redhat.com> console: make QMP/HMP screendump run in coroutine
Thanks to the monitors' coroutine support (merge commit b7092cda1b3), the screendump handler can trigger a graphic_hw_update(), yield and let the main loop run until update is done. Then the handler is resumed, and ppm_save() will write the screen image to disk in the coroutine context.
The IO is still blocking though, as the file is set blocking so far, this could be addressed by some future change (with other caveats).
Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1230527
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 20201027133602.3038018-4-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|