Conversation
While this can be done by [3rd party script](https://github.com/ayufan/pve-helpers/), running on non SMP system requires this to be set before KVM was even started, otherwise you get error [qemu kvm_arm_vcpu_init failed: Invalid argument"](https://forum.armbian.com/topic/16830-virtualization-support/). This is a [known limitation](https://www.mail-archive.com/qemu-devel@nongnu.org/msg755010.html) of QEMU.
|
老哥你好,我修改了QemuServer.qm。 |
|
我好像明白了。应该是taskset -c 在/usr/bin/kvm之前。 |
|
都是不太明白 |
|
Hi, I don't know if solves for you, but at least i was having same issue after applying patch. In my case i needed to reboot once change made I did this on a orangepi4-lts (rk3399) running armbian:
This was the vm conf i tested on. It is based from Pimox HassOS VM image |

While this can be done by 3rd party script, running on non SMP system requires this to be set before KVM was even started, otherwise you get error qemu kvm_arm_vcpu_init failed: Invalid argument". This is a known limitation of QEMU.
As for why this PR is related to pimox, this enables me to run VM on Rock Pi 4B which uses RK3399:

However I have not tested the stability on this approach. All I will say is that right now I can click "Start" button from GUI and everything seems to work.