提交 bd843409 编写于 作者: P Peter Krempa

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: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
上级 613eeebb
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include "qemu_cgroup.h" #include "qemu_cgroup.h"
#include "qemu_command.h" #include "qemu_command.h"
#include "qemu_process.h" #include "qemu_process.h"
#include "qemu_parse_command.h"
#include "qemu_capabilities.h" #include "qemu_capabilities.h"
#include "qemu_migration.h" #include "qemu_migration.h"
#include "qemu_migration_params.h" #include "qemu_migration_params.h"
...@@ -74,6 +73,8 @@ ...@@ -74,6 +73,8 @@
#include <libxml/xpathInternals.h> #include <libxml/xpathInternals.h>
#include "dosname.h" #include "dosname.h"
#define QEMU_QXL_VGAMEM_DEFAULT 16 * 1024
#define VIR_FROM_THIS VIR_FROM_QEMU #define VIR_FROM_THIS VIR_FROM_QEMU
VIR_LOG_INIT("qemu.qemu_domain"); VIR_LOG_INIT("qemu.qemu_domain");
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#pragma once #pragma once
#define QEMU_QXL_VGAMEM_DEFAULT 16 * 1024
void void
qemuParseKeywordsFree(int nkeywords, qemuParseKeywordsFree(int nkeywords,
char **keywords, char **keywords,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册