From bd843409a444e6c067cbcb0d18f3af82d1df531d Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 17 Jun 2019 09:50:08 +0200 Subject: [PATCH] qemu: Move QEMU_QXL_VGAMEM_DEFAULT macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/qemu/qemu_domain.c | 3 ++- src/qemu/qemu_parse_command.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) 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,