]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Drop qemu-objects.h from modules that don't require it
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 21 Oct 2011 18:05:43 +0000 (16:05 -0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 27 Oct 2011 13:48:47 +0000 (11:48 -0200)
Previous commits dropped most qobjects usage from qemu modules
(now they are a low level interface used by the QAPI). However,
some modules still include the qemu-objects.h header file.

This commit drops qemu-objects.h from some of those modules
and includes qjson.h instead, which is what they actually need.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
block.c
error.c
vl.c

diff --git a/block.c b/block.c
index 551aa80af972800b50aed96939627676e65123bb..b5c154420fd72da0bd748ec734cbca957ee4b493 100644 (file)
--- a/block.c
+++ b/block.c
@@ -27,7 +27,7 @@
 #include "monitor.h"
 #include "block_int.h"
 #include "module.h"
-#include "qemu-objects.h"
+#include "qjson.h"
 #include "qemu-coroutine.h"
 #include "qmp-commands.h"
 
diff --git a/error.c b/error.c
index 68c0039dbaa399e3a00aa34fe7c11c4f43427236..990050f792f73b7dd04221e3e371ace802fcc456 100644 (file)
--- a/error.c
+++ b/error.c
@@ -12,8 +12,9 @@
 
 #include "qemu-common.h"
 #include "error.h"
+#include "qjson.h"
+#include "qdict.h"
 #include "error_int.h"
-#include "qemu-objects.h"
 #include "qerror.h"
 
 struct Error
diff --git a/vl.c b/vl.c
index 1ddb17bfd950f34164629437b5d7a94b0809a982..fb28ffcdfb254bfc4cbb7e2715b411d254f086bc 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -143,9 +143,9 @@ int main(int argc, char **argv)
 #include "audio/audio.h"
 #include "migration.h"
 #include "kvm.h"
+#include "qjson.h"
 #include "qemu-option.h"
 #include "qemu-config.h"
-#include "qemu-objects.h"
 #include "qemu-options.h"
 #include "qmp-commands.h"
 #include "main-loop.h"