libxc: fix the types used in xc_dom_image to build HVM guests
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 15 Oct 2015 17:23:57 +0000 (19:23 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 16 Oct 2015 08:54:44 +0000 (09:54 +0100)
commitc787425fdf2a4b42ffbff257123dfcb25528efbb
tree07b8728485385646b89c7684816c1587b4d32b73
parentc7e21966e6fe1e8640a4d1cb452118c43e27356d
libxc: fix the types used in xc_dom_image to build HVM guests

Fix the types used to store the memory parameters of an HVM guest,
previously they defaulted to unsigned long on 32bit toolstack builds, which
is wrong because a 32bit value cannot hold a 64bit memory address that
crosses the 4GB boundary.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/include/xc_dom.h