tools/init-xenstore-domain: fix memory map for PVH stubdom
authorJuergen Gross <jgross@suse.com>
Tue, 12 Jul 2022 13:25:20 +0000 (15:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Jul 2022 13:25:20 +0000 (15:25 +0200)
commit134d53f577076d4f26091e25762f27cc3c73bf58
tree6fad5e1077a75120b1f12958d23998aad7cb5278
parente58370df76eacf1f7ca0340e9b96430c77b41a79
tools/init-xenstore-domain: fix memory map for PVH stubdom

In case of maxmem != memsize the E820 map of the PVH stubdom is wrong,
as it is missing the RAM above memsize.

Additionally the memory map should only specify the Xen special pages
as reserved.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
tools/helpers/init-xenstore-domain.c