xen: Drop includes of xen/hvm/params.h
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 18 Jun 2019 11:23:40 +0000 (12:23 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 24 Jun 2019 09:42:30 +0000 (10:42 +0100)
commit6e8d4593536a59832dbbecce540498f69b75b644
treeef4c258b23ac754ed269521c0dc55c1c51b1b73c
parent34fbbc164fded65341f9fc299b118c90925d5b1f
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>
hw/i386/xen/xen-hvm.c
hw/i386/xen/xen-mapcache.c