tools/init-xenstore-domain: fix memory map for PVH stubdom
authorJuergen Gross <jgross@suse.com>
Wed, 27 Jul 2022 07:19:41 +0000 (09:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 27 Jul 2022 07:19:41 +0000 (09:19 +0200)
commit6e542a835de8554eae716e17cc565a2f7e217b39
treeb7f389926781d8af7049486715210dfcfc76b2b0
parent6f814c377bb6959af0f8e74edc2582e14c427091
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>
master commit: 134d53f577076d4f26091e25762f27cc3c73bf58
master date: 2022-07-12 15:25:20 +0200
tools/helpers/init-xenstore-domain.c