On Tue, May 13, 2025 at 11:44:19AM -0400, Jason Andryuk wrote: > Only access the HVM union b_info->u.hvm on HVM guests. The union > access is not guarded, so this reads and sets the default even on > non-HVM guests. Usually this doesn't matter as PV and PVH unions are > smaller and zero-initialized, but the zero default will be re-written as > a -1 boolean. Generally, it could incorrectly set b_info->altp2m > through aliased data. > > Fixes: 0291089f6ea8 ("xen: enable altp2m at create domain domctl") > Signed-off-by: Jason Andryuk <jason.andr...@amd.com>
Acked-by: Anthony PERARD <anthony.per...@vates.tech> Thanks, -- Anthony PERARD