[PATCHv2 8/9] qemu: Move QEMU_QXL_VGAMEM_DEFAULT macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <pkrempa@xxxxxxxxxx>
---
 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 <libxml/xpathInternals.h>
 #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 4af2665eb8..e7af48e95b 100644
--- a/src/qemu/qemu_parse_command.h
+++ b/src/qemu/qemu_parse_command.h
@@ -22,8 +22,6 @@
 #ifndef LIBVIRT_QEMU_PARSE_COMMAND_H
 # define LIBVIRT_QEMU_PARSE_COMMAND_H

-# define QEMU_QXL_VGAMEM_DEFAULT 16 * 1024
-
 void
 qemuParseKeywordsFree(int nkeywords,
                      char **keywords,
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux