summaryrefslogtreecommitdiffstats
path: root/hw/i386/xen
diff options
context:
space:
mode:
authorAnthony PERARD2019-06-18 13:23:40 +0200
committerAnthony PERARD2019-06-24 11:42:30 +0200
commit6e8d4593536a59832dbbecce540498f69b75b644 (patch)
treeef4c258b23ac754ed269521c0dc55c1c51b1b73c /hw/i386/xen
parentxen: Avoid VLA (diff)
downloadqemu-6e8d4593536a59832dbbecce540498f69b75b644.tar.gz
qemu-6e8d4593536a59832dbbecce540498f69b75b644.tar.xz
qemu-6e8d4593536a59832dbbecce540498f69b75b644.zip
xen: Drop includes of xen/hvm/params.h
xen-mapcache.c doesn't needs params.h. xen-hvm.c uses defines available in params.h but so is xen_common.h which is included before. HVM_PARAM_* flags are only needed to make xc_hvm_param_{get,set} calls so including only xenctrl.h, which is where the definition the function is, should be enough. (xenctrl.h does include params.h) Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Paul Durrant <paul.durrant@citrix.com> Message-Id: <20190618112341.513-4-anthony.perard@citrix.com>
Diffstat (limited to 'hw/i386/xen')
-rw-r--r--hw/i386/xen/xen-hvm.c1
-rw-r--r--hw/i386/xen/xen-mapcache.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/hw/i386/xen/xen-hvm.c b/hw/i386/xen/xen-hvm.c
index ed9c37c72d..469f1260a4 100644
--- a/hw/i386/xen/xen-hvm.c
+++ b/hw/i386/xen/xen-hvm.c
@@ -27,7 +27,6 @@
#include "exec/address-spaces.h"
#include <xen/hvm/ioreq.h>
-#include <xen/hvm/params.h>
#include <xen/hvm/e820.h>
//#define DEBUG_XEN_HVM
diff --git a/hw/i386/xen/xen-mapcache.c b/hw/i386/xen/xen-mapcache.c
index 254759f776..dc73c86c61 100644
--- a/hw/i386/xen/xen-mapcache.c
+++ b/hw/i386/xen/xen-mapcache.c
@@ -17,8 +17,6 @@
#include "hw/xen/xen-legacy-backend.h"
#include "qemu/bitmap.h"
-#include <xen/hvm/params.h>
-
#include "sysemu/xen-mapcache.h"
#include "trace.h"