The following diff is enough to fix, but might be too agressive:
diff --git a/lib/autopkgtest_qemu.py b/lib/autopkgtest_qemu.py
index b63e2f1b..47878f27 100644
--- a/lib/autopkgtest_qemu.py
+++ b/lib/autopkgtest_qemu.py
@@ -361,6 +361,8 @@ class QemuSession:
# -cpu host is obviously not possible on a foreign
# CPU, -cpu max is unusably slow, but this works!
argv.extend(["-cpu", "cortex-a53"])
+ if self.qemu_architecture == "riscv64":
+ argv.extend(["-cpu", "rva23s64"])
argv.extend(
[
We might not want to force `-cpu rva23s64` all the time, but I don't think the
series
is exposed by this specific internal library, so we can't check for questing
and above directly.
Maybe a good workaround would be to use `-cpu max`, this way it would
always work; except on a Plucky and below host machine, which would not
have a recent enough qemu (and so even `-cpu max` would not support
RVA23).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137720
Title:
autopkgtest-buildvm-ubuntu-cloud is broken on riscv64 for questing+
(rva23)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2137720/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs