xen: Fix handling of GRUB chainloading.
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 6 Feb 2017 23:42:43 +0000 (00:42 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 6 Feb 2017 23:42:43 +0000 (00:42 +0100)
commit8a96fc409373fffda99e18a8438ddfc6bb787bc8
tree97c2f91b76e77218b16d093d5e73a989ddad2607
parentf3df8f961f19fa8ecfb463b1559ba2ae68b53c5d
xen: Fix handling of GRUB chainloading.

In case of GRUB we put remapper after domain pages and not at 0x0.
In this case we use max_addr to put remapper. Unfortunately we increment
max_addr as well in this case resulting in virt mapping mapping page
at old max_addr and trying to boot using new max_addr.

Closes 46014.
grub-core/loader/i386/xen.c