diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-08-30 13:38:29 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-11-07 14:04:25 +0400 |
commit | f38aa2c7c0c85d8f978a3c23ab0a32578fc73134 (patch) | |
tree | 60521141ac04fd3ca62323a183e617a9c207be87 /qapi | |
parent | 600179c39efb30cf072e18c7604ccf52360684c6 (diff) | |
download | qemu-f38aa2c7c0c85d8f978a3c23ab0a32578fc73134.zip qemu-f38aa2c7c0c85d8f978a3c23ab0a32578fc73134.tar.gz qemu-f38aa2c7c0c85d8f978a3c23ab0a32578fc73134.tar.bz2 |
qmp/hmp: disable screendump if PIXMAN is missing
The command requires color conversion and line-by-line feeding. We could
have a simple fallback for simple formats though.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/ui.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi/ui.json b/qapi/ui.json index 006616a..e74cc3e 100644 --- a/qapi/ui.json +++ b/qapi/ui.json @@ -200,7 +200,8 @@ { 'command': 'screendump', 'data': {'filename': 'str', '*device': 'str', '*head': 'int', '*format': 'ImageFormat'}, - 'coroutine': true } + 'coroutine': true, + 'if': 'CONFIG_PIXMAN' } ## # == Spice |