From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Roger Pau Monne <roger.pau@citrix.com>, xen-devel@lists.xenproject.org
Cc: Wei Liu <wei.liu2@citrix.com>, Ian Jackson <ian.jackson@eu.citrix.com>
Subject: Re: [PATCH for-4.8 2/2] libxc: set rsdp pointer for PVHv2 guests
Date: Mon, 7 Nov 2016 09:40:23 -0500 [thread overview]
Message-ID: <c7721cca-368f-4cac-a8fa-77276f89702a@oracle.com> (raw)
In-Reply-To: <1478519704-19543-3-git-send-email-roger.pau@citrix.com>
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.pau@citrix.com>
> ---
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@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
prev parent reply other threads:[~2016-11-07 14:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-07 11:55 [PATCH for-4.8 0/2] Minor ACPI fixes for PVHv2 DomU Roger Pau Monne
2016-11-07 11:55 ` [PATCH for-4.8 1/2] libxc: properly account for the page offset when copying ACPI data Roger Pau Monne
2016-11-07 12:59 ` Andrew Cooper
2016-11-07 11:55 ` [PATCH for-4.8 2/2] libxc: set rsdp pointer for PVHv2 guests Roger Pau Monne
2016-11-07 14:40 ` Boris Ostrovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c7721cca-368f-4cac-a8fa-77276f89702a@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=ian.jackson@eu.citrix.com \
--cc=roger.pau@citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).