]> git.ipfire.org Git - thirdparty/grub.git/commit
xen: Setup Xen specific data for PVH
authorJuergen Gross <jgross@suse.com>
Fri, 7 Dec 2018 12:11:41 +0000 (13:11 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 12 Dec 2018 11:03:27 +0000 (12:03 +0100)
commit4c9b4a7c92c9373315fd8b0f8f889275814bba41
tree77d33855320cb431c1132a9b455441755a84b071
parent2b7a21afd319b829941a928f5763e017d1cc2951
xen: Setup Xen specific data for PVH

Initialize the needed Xen specific data. This is:

- the Xen start of day page containing the console and Xenstore ring
  page PFN and event channel
- the grant table
- the shared info page

Write back the possibly modified memory map to the hypervisor in case
the guest is reading it from there again.

Set the RSDP address for the guest from the start_info page passed
as boot parameter.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Tested-by: Hans van Kranenburg <hans@knorrie.org>
grub-core/kern/i386/xen/pvh.c