Re: [PATCH] hvf: Enable 1G page support

2023-10-21 Thread Phil Dennis-Jordan
Didn't spot this one first time around. :-) The code looks fine to me, and in my test, it does indeed fix the immediate crash. There's still something making OVMF from Qemu 8.1 very, very unhappy even with this patch - I'm getting memory allocation errors from it and can't get anywhere near

Re: [PATCH] hvf: Enable 1G page support

2023-10-17 Thread Alexander Graf
On 21.04.23 00:52, Alexander Graf wrote: Hvf on x86 only supported 2MiB large pages, but never bothered to strip out the 1GiB page size capability from -cpu host. With QEMU 8.0.0 this became a problem because OVMF started to use 1GiB pages by default. Let's just unconditionally add 1GiB page

[PATCH] hvf: Enable 1G page support

2023-04-20 Thread Alexander Graf
Hvf on x86 only supported 2MiB large pages, but never bothered to strip out the 1GiB page size capability from -cpu host. With QEMU 8.0.0 this became a problem because OVMF started to use 1GiB pages by default. Let's just unconditionally add 1GiB page walk support to the walker. With this fix