]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/x86: Zero out .bss for PV guests
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 26 Feb 2016 19:02:36 +0000 (14:02 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 11 May 2016 18:31:00 +0000 (14:31 -0400)
commitb11c39c863dca88c0dc296a1145b23afe830e666
tree2f246f9dd5a784f434a627d71bdf955161cc786b
parentaf1bdf5650c0456b4848fc637a8f14119bea55ae
xen/x86: Zero out .bss for PV guests

ELF spec is unclear about whether .bss must me cleared by the loader.
Currently the domain builder does it when loading the guest but because
it is not (or rather may not be) guaranteed we should zero it out
explicitly.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 04b6b4a56884327c1648c517f1f46a2638f04c9d)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
OraBug: 23268939
arch/x86/xen/xen-head.S