]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_monitor: Extend qemuMonitorScreendump() for @format
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Dec 2022 09:50:04 +0000 (10:50 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Dec 2022 12:14:18 +0000 (13:14 +0100)
commitc7796d928bddc1a67638aded8a947cf9f39077df
treecf0eda5603209287f9e08d01863f88a564a70959
parent705ab146fcbfad1644e9b6b5a8e211edbb29dfcd
qemu_monitor: Extend qemuMonitorScreendump() for @format

The 'screendump' command has new argument 'format'. Let's expose
this on our QMP level so that callers can specify the format, if
they wish so.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c