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>
This commit is contained in:
Anthony PERARD 2019-06-18 12:23:40 +01:00
parent 34fbbc164f
commit 6e8d459353
2 changed files with 0 additions and 3 deletions

View File

@ -27,7 +27,6 @@
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include <xen/hvm/ioreq.h> #include <xen/hvm/ioreq.h>
#include <xen/hvm/params.h>
#include <xen/hvm/e820.h> #include <xen/hvm/e820.h>
//#define DEBUG_XEN_HVM //#define DEBUG_XEN_HVM

View File

@ -17,8 +17,6 @@
#include "hw/xen/xen-legacy-backend.h" #include "hw/xen/xen-legacy-backend.h"
#include "qemu/bitmap.h" #include "qemu/bitmap.h"
#include <xen/hvm/params.h>
#include "sysemu/xen-mapcache.h" #include "sysemu/xen-mapcache.h"
#include "trace.h" #include "trace.h"