jiangcuo / Proxmox-Port

Proxmox VE arm64 riscv64 loongarch64
GNU Affero General Public License v3.0
727 stars 37 forks source link

v8.1.3在鲲鹏920平台上似乎不支持虚拟机在线热添加CPU/内存 #80

Closed zhufeng closed 3 months ago

zhufeng commented 5 months ago

Describe the bug 1、正常创建虚拟机,VM操作系统使用麒麟v10 sp3。 2、在VM设置中,开启热添加CPU/内存,同时开启虚拟机CPU的NUMA。 3、VM开机之后,直接报错: kvm: -device host-x86_64-cpu,id=cpu2,socket-id=0,core-id=1,thread-id=0: 'host-x86_64-cpu' is not a valid device model name TASK ERROR: start failed: QEMU exited with code 1 4、将CPU/内存热添加的勾去掉之后,能正常开机。

To Reproduce 如上。

Expected behavior VM正常热添加CPU/内存。

Screenshots If applicable, add screenshots to help explain your problem.

ENV (please complete the following information):

Additional context Add any other context about the problem here.

jiangcuo commented 3 months ago

There are some issues with arm64 vm cpu-hotplug, https://lwn.net/Articles/975767/ If the following patch resolves the issue, the arm64 version of cpu-hotplug should be supported in a later release