From: Peter Krempa Date: Mon, 17 Jun 2019 07:50:08 +0000 (+0200) Subject: qemu: Move QEMU_QXL_VGAMEM_DEFAULT macro X-Git-Tag: v5.5.0-rc1~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd843409a444e6c067cbcb0d18f3af82d1df531d;p=thirdparty%2Flibvirt.git qemu: Move QEMU_QXL_VGAMEM_DEFAULT macro qemu_domain.c is now the only place that uses it, so we can move it from qemu_parse_command.h Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko Reviewed-by: Andrea Bolognani --- diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index e5c6ef3fda..8262107311 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -27,7 +27,6 @@ #include "qemu_cgroup.h" #include "qemu_command.h" #include "qemu_process.h" -#include "qemu_parse_command.h" #include "qemu_capabilities.h" #include "qemu_migration.h" #include "qemu_migration_params.h" @@ -74,6 +73,8 @@ #include #include "dosname.h" +#define QEMU_QXL_VGAMEM_DEFAULT 16 * 1024 + #define VIR_FROM_THIS VIR_FROM_QEMU VIR_LOG_INIT("qemu.qemu_domain"); diff --git a/src/qemu/qemu_parse_command.h b/src/qemu/qemu_parse_command.h index 6c542d870d..269bf88b06 100644 --- a/src/qemu/qemu_parse_command.h +++ b/src/qemu/qemu_parse_command.h @@ -21,8 +21,6 @@ #pragma once -#define QEMU_QXL_VGAMEM_DEFAULT 16 * 1024 - void qemuParseKeywordsFree(int nkeywords, char **keywords,