diff options
author | Alexander Graf <agraf@csgraf.de> | 2023-04-21 00:52:58 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-28 18:01:55 +0100 |
commit | 654076bc20491a7d7b3c53921487715e73a35162 (patch) | |
tree | 488ffb3fb9e7bf991d57b895d147f1dced36e441 /util/cache-utils.c | |
parent | 0266aef8cd6511e5de0c0cb818d02ae7814d4940 (diff) |
hvf: complete 1G page support
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 applied, I can successfully run OVMF again.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1603
Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reported-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Reported-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Phil Dennis-Jordan <phil@philjordan.eu>
Link: https://lore.kernel.org/r/20230420225258.58009-1-agraf@csgraf.de
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/cache-utils.c')
0 files changed, 0 insertions, 0 deletions