1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 16:36:06 +00:00

fix(vrtManager): a vCPU maximum the CPU topology does not make is refused first

A VM with a CPU topology takes only the maximum it makes; libvirt
refused another one after the vCPU hotplug list had been removed, so a
failed resize left hotplug off. The maximum is now checked against the
topology before anything changes, with tr and zh translations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
This commit is contained in:
catborise 2026-11-08 14:40:06 +03:00
parent e206862856
commit 1ddc941b2d
6 changed files with 58 additions and 3 deletions

Binary file not shown.

View file

@ -9997,3 +9997,7 @@ msgstr "Yerel sunucu"
#: webvirtcloud/settings.py:320
msgid "All interfaces"
msgstr "Tüm arabirimler"
#, python-format
msgid "The VM's CPU topology has %(count)s vCPUs: change it in the XML editor to set another maximum"
msgstr "VM'nin CPU topolojisi %(count)s vCPU içeriyor: başka bir en fazla değer için onu XML düzenleyicide değiştirin"

Binary file not shown.

View file

@ -9416,3 +9416,7 @@ msgstr "本机"
#: webvirtcloud/settings.py:320
msgid "All interfaces"
msgstr "所有接口"
#, python-format
msgid "The VM's CPU topology has %(count)s vCPUs: change it in the XML editor to set another maximum"
msgstr "该虚拟机的 CPU 拓扑为 %(count)s 个 vCPU:要设置其他最大值,请在 XML 编辑器中修改拓扑"