Skip to content

Commit bdcbed5

Browse files
committed
Set riscv64 cpu to max
https://lore.kernel.org/qemu-devel/20250404152750.332791-1-dbarboza@ventanamicro.com/ > [As more] distros use the 'virt' machine, and they'll start building > on top of RVA23, and rv64 does not have RVA23 support. In short, > distros will start to break in the default 'virt' CPU. > > Changing the default CPU to 'max' will not cause (intentional) user > regressions: if the software runs in rv64 it will run in 'max' too given > that we're adding more extensions as default instead of removing them. To ensure lima works once Ubuntu 25.10 comes out, which is expected to require RV23, set the cpu type to max. Signed-off-by: Joel Stanley <jms@tenstorrent.com>
1 parent 1c8ac82 commit bdcbed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/limayaml/defaults.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func defaultCPUType() CPUType {
6666
ARMV7L: "cortex-a7",
6767
// Since https://github.com/lima-vm/lima/pull/494, we use qemu64 cpu for better emulation of x86_64.
6868
X8664: "qemu64",
69-
RISCV64: "rv64", // FIXME: what is the right choice for riscv64?
69+
RISCV64: "max",
7070
S390X: "qemu", // FIXME: what is the right choice for s390x?
7171
}
7272
for arch := range cpuType {

0 commit comments

Comments
 (0)