This patch adds max_satp_mode from host kvm cpu setting.
Tested on: Milkv Megrez (Eswin 7700x)
Reviewed-by: Andrew Jones
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2931
Signed-off-by: Meng Zhuo
---
Change in v6:
- Rebase on https://github.com/alistair23/qemu/tree/riscv-to
This patch adds host satp mode while kvm/host cpu satp mode is not
set.
Reviewed-by: Andrew Jones
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2931
Signed-off-by: Meng Zhuo
---
This patch don't change the output of errno nor errno strings pattern.
See [v3] for further inform
set_satp_mode_max_supported instead of hard code
- Link to v1:
https://lists.nongnu.org/archive/html/qemu-devel/2025-04/msg05094.html
Reviewed-by: Andrew Jones
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2931
Signed-off-by: Meng Zhuo
---
target/riscv/cpu.c | 3 +--
target
- Link to v1:
https://lists.nongnu.org/archive/html/qemu-devel/2025-04/msg05094.html
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2931
Signed-off-by: Meng Zhuo
---
target/riscv/cpu.c | 3 +--
target/riscv/cpu.h | 1 +
target/riscv/kvm/kvm-cpu.c | 20
This patch adds host satp mode while kvm/host cpu satp mode is not
set.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2931
Signed-off-by: Meng Zhuo
---
target/riscv/cpu.c | 3 +--
target/riscv/cpu.h | 1 +
target/riscv/kvm/kvm-cpu.c | 20 +++-
3 files
This patch adds host satp mode while kvm/host cpu satp mode is not
set.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2931
Signed-off-by: Meng Zhuo
---
target/riscv/cpu.c | 3 +--
target/riscv/cpu.h | 1 +
target/riscv/kvm/kvm-cpu.c | 20 +++-
3 files
This patch adds host satp mode while kvm/host cpu satp mode is not
set.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2931
Signed-off-by: Meng Zhuo
---
target/riscv/kvm/kvm-cpu.c | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/target