[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] tools/libxl: Only access legacy altp2m on HVM
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.andryuk@xxxxxxx> Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Thanks, -- Anthony PERARD
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |