On 27/12/2023 2:35 am, Marek Marczykowski-Górecki wrote: > According to comments (and experiments) qemu-xen cannot handle memory > reolcation done by hvmloader. The code was already disabled when running > qemu-xen in dom0 (see libxl__spawn_local_dm()), but it was missed when > adding qemu-xen support to stubdomain. Adjust libxl__spawn_stub_dm() to > be consistent in this regard. > > Reported-by: Neowutran <x...@neowutran.ovh> > Signed-off-by: Marek Marczykowski-Górecki <marma...@invisiblethingslab.com>
It turns out that it's unconditionally clobbered in XenServer too. https://github.com/xapi-project/xen-api/blob/53d2e8cdff76ca6805c7018948a9c414b9ac7c72/ocaml/xenopsd/scripts/qemu-wrapper#L146 Not that I'm surprised - this falls squarely into guest-physmap mess which is broken in several well-documented ways already. ~Andrew