On 2025-05-12 19:54, Jason Andryuk wrote:
Only read the HVM union b_info->u.hvm on HVM guests. The union access is not guarded, so this reads even on non-HVM guests. Usually this doesn't matter as PV and PVH unions are smaller and zero-initialized. But it could incorrectly set b_info->altp2m through aliased data.
Oops. I re-phrased the commit message, but I accidentally had an old version in the directory. Sorry about that. Please disregard this one and review "tools/libxl: Only access legacy altp2m on HVM".
Thanks, Jason