I just configured hotplug for CPUs and RAM on one of my VMs and have been testing it. Hotplug for the CPU and RAM work but unplug fails every time with the error:
Simultaneously the VM hangs and I lose the ability to interact with the console and SSH.
NUMA is enabled, Hotplug is obviously enabled, VM has hotplug modules added as per wiki.
I've been trying to figure out what this might mean and if it's possible to fix it but so far I haven't even found a thread mentioning this error let alone a way to fix it. Any help would be appreciated. Software versions below.
One thing I've noticed that seems off though is that it keeps saying "vcpus: error unplugging cpu4" or "cpu3" when I only have 4 or 3 CPUs in the system. I'm not sure if it's saying this for human readability or if it's a flaw in the code because there is no cpu4/3 in the system. CPU counts start at cpu0 and if it's actually trying to remove cpu4/3 when there is 4 or 3 CPUs respectively then it will always fail.
Code:
Parameter verification failed. (400)
vcpus: hotplug problem - 400 Parameter verification failed. vcpus: error unplugging cpu4
Parameter verification failed. (400)
memory: hotplug problem - 400 Parameter verification failed. dimm9: error unplug memory module
Simultaneously the VM hangs and I lose the ability to interact with the console and SSH.
NUMA is enabled, Hotplug is obviously enabled, VM has hotplug modules added as per wiki.
I've been trying to figure out what this might mean and if it's possible to fix it but so far I haven't even found a thread mentioning this error let alone a way to fix it. Any help would be appreciated. Software versions below.
One thing I've noticed that seems off though is that it keeps saying "vcpus: error unplugging cpu4" or "cpu3" when I only have 4 or 3 CPUs in the system. I'm not sure if it's saying this for human readability or if it's a flaw in the code because there is no cpu4/3 in the system. CPU counts start at cpu0 and if it's actually trying to remove cpu4/3 when there is 4 or 3 CPUs respectively then it will always fail.
Code:
QEMU emulator version 4.1.1 (pve-qemu-kvm_4.1.1)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
pve-manager/6.1-8/806edfe1 (running kernel: 5.3.18-3-pve)
Linux scylla 5.3.18-3-pve #1 SMP PVE 5.3.18-3 (Tue, 17 Mar 2020 16:33:19 +0100) x86_64 GNU/Linux
VM OS:
Linux 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux
Last edited: