On 11/07/2016 06:55 AM, Roger Pau Monne wrote:
> 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....@citrix.com>
> ---
> Cc: Ian Jackson <ian.jack...@eu.citrix.com>
> Cc: Wei Liu <wei.l...@citrix.com>
> Cc: Boris Ostrovsky <boris.ostrov...@oracle.com>
> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
> ---
>  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..0f52520 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;
>          }
> +
> +        /* Module 0 is the RSDP */

I'd say "ACPI module 0" because modlist (right above the comment) also
operates on modules and that may confuse people (it did for me).

-boris

> +        start_info->rsdp_paddr = dom->acpi_modules[0].guest_addr_out ? : 0;
>      }
>      else
>      {


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to