x86/dom0: allow stealing RAM from a region that starts in the low 1MB
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 27 Dec 2018 15:26:35 +0000 (16:26 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 27 Dec 2018 19:46:46 +0000 (19:46 +0000)
commit667e916fca68e7a1d643a7e460c690626413b197
treeb67f6bac3402fb511f812e767e5ee79b8245bb19
parentd4ac876ec83dbe2477401e0ce18092adc80389e2
x86/dom0: allow stealing RAM from a region that starts in the low 1MB

As long as the memory stolen is always above 1MB. This allows the PVH
Dom0 builder to be used on a memory map that only has a single RAM
region starting at 0.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/dom0_build.c