mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
This commit is contained in:
1 parent
c7e21966e6
commit
c787425fdf
1 file changed
+4
-4
@@ -187,10 +187,10 @@ struct xc_dom_image {
|
||||
|
||||
/* HVM specific fields. */
|
||||
xen_pfn_t target_pages;
|
||||
xen_pfn_t mmio_start;
|
||||
xen_pfn_t mmio_size;
|
||||
xen_pfn_t lowmem_end;
|
||||
xen_pfn_t highmem_end;
|
||||
xen_paddr_t mmio_start;
|
||||
xen_paddr_t mmio_size;
|
||||
xen_paddr_t lowmem_end;
|
||||
xen_paddr_t highmem_end;
|
||||
|
||||
/* Extra ACPI tables passed to HVMLOADER */
|
||||
struct xc_hvm_firmware_module acpi_module;
|
||||
|
||||