[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 for-4.8 2/2] libxc: set rsdp pointer for PVHv2 guests
Set the address of the RSDP in the HVM start info structure for PVHv2 DomUs that have ACPI tables. Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Cc: Wei Liu <wei.liu2@xxxxxxxxxx> Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- Changes since v1: - Reword code comment. --- tools/libxc/xc_dom_x86.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/libxc/xc_dom_x86.c b/tools/libxc/xc_dom_x86.c index 0eab8a7..6495e7f 100644 --- a/tools/libxc/xc_dom_x86.c +++ b/tools/libxc/xc_dom_x86.c @@ -1797,6 +1797,9 @@ static int bootlate_hvm(struct xc_dom_image *dom) modlist[0].size = dom->ramdisk_seg.vend - dom->ramdisk_seg.vstart; start_info->nr_modules = 1; } + + /* ACPI module 0 is the RSDP */ + start_info->rsdp_paddr = dom->acpi_modules[0].guest_addr_out ? : 0; } else { -- 2.7.4 (Apple Git-66) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |