On Fri, 26 Sept 2025 at 16:59, Peter Maydell <peter.mayd...@linaro.org> wrote: > I'm trying to repro the setup I had last year, but I can't > figure out a setup where I can get hot-unplug to work: > the "device-del" command documented in system/cpu-hotplug.html > always fails with: > > "desc": "acpi: device unplug request for not supported device type: > IvyBridge-IBRS-x86_64-cpu" > > Do you know how to get this working?
Turns out I needed to also add enough command line arguments to get a guest to boot (which is a bit tricky when you don't want to use the gui frontend because fontconfig et al are full of leaks that clutter up the asan output). The error message from device-del is extremely unhelpful here. The command line I ended up with was ./build/x86-tgts-asan/qemu-system-x86_64 -vga std -display curses -no-user-config -m 2048 -nodefaults -machine q35,accel=kvm,usb=off -smp 1,maxcpus=2 -cpu IvyBridge-IBRS -qmp unix:/tmp/qmp-sock,server=on,wait=off -cdrom ~/test-images/ubuntu-server-2404/ubuntu-24.04-live-server-amd64.iso thanks -- PMM