In libvirt aia=aplic-imsic requires version libvirt version 11.2.0, cf:
817eabd0ccc1 ("conf,qemu: implement RISC-V 'aia' virt domain feature")

The problem can be reproduced with this command for the outer VM:

/usr/bin/qemu-system-riscv64 \
  -machine virt,acpi=off \
  -serial mon:stdio \
  -device virtio-gpu-pci \
  -device qemu-xhci \
  -device usb-kbd \
  -device usb-mouse \
  -drive 
if=pflash,format=raw,unit=0,file=/usr/share/qemu-efi-riscv64/RISCV_VIRT_CODE.fd,readonly=on
 \
  -drive if=pflash,format=raw,unit=1,file=RISCV_VIRT_VARS.fd \
  -accel tcg \
  -cpu max \
  -m size=117440512k \
  -smp 16,sockets=16,cores=1,threads=1 \
  -drive 
file=/var/lib/libvirt/images/ubuntu25.04-riscv64-2.qcow2,if=virtio,format=qcow2 
\
  -device virtio-net-device,netdev=net0 \
  -netdev user,id=net0

Using
-machine virt,apcpi=oof,aia=aplic-imsic,aia-guests=4
does not make a difference for the observerd problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2112578

Title:
  riscv64: KVM does not release harts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2112578/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to