[GH-ISSUE #261] Feature request - hot add cpu and mem #171

Closed
opened 2026-02-27 15:57:37 +03:00 by kerem · 1 comment
Owner

Originally created by @lord-kyron on GitHub (Nov 18, 2019).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/261

@catborise - I saw that the commands to live add more CPU cores or increase the memory of the VM are pretty simple. Can you please, make available the possibility to add more CPU and RAM to the VMs live trough the web interface? It will be very helpful to do those when we need to increase VM resources, instead of shutting down the VM.

The requested options to make possible are:

  • hot add CPU
  • hot remove CPU
  • hot add RAM

references, where I saw this is possible:
CPU - https://www.unixarena.com/2015/12/linux-kvm-how-to-add-remove-vcpu-to-guest-on-fly.html/
RAM - https://earlruby.org/2014/05/increase-a-vms-available-memory-with-virsh/

Thank you!

Originally created by @lord-kyron on GitHub (Nov 18, 2019). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/261 @catborise - I saw that the commands to live add more CPU cores or increase the memory of the VM are pretty simple. Can you please, make available the possibility to add more CPU and RAM to the VMs live trough the web interface? It will be very helpful to do those when we need to increase VM resources, instead of shutting down the VM. The requested options to make possible are: - hot add CPU - hot remove CPU - hot add RAM references, where I saw this is possible: CPU - https://www.unixarena.com/2015/12/linux-kvm-how-to-add-remove-vcpu-to-guest-on-fly.html/ RAM - https://earlruby.org/2014/05/increase-a-vms-available-memory-with-virsh/ Thank you!
kerem closed this issue 2026-02-27 15:57:37 +03:00
Author
Owner

@catborise commented on GitHub (Nov 20, 2019):

hot memory adding already implemented. I did activate it. But you know that you cannot change maximum memory allocation online. But only current allocation.

hot cpu adding requires some steps. Firstofall cpus must be hotpluggable. Then you can add or remove only current ones, again not maximum cpus.
i can implement it but it requires time.
@lord-kyron
thanks

<!-- gh-comment-id:555902050 --> @catborise commented on GitHub (Nov 20, 2019): hot memory adding already implemented. I did activate it. But you know that you cannot change maximum memory allocation online. But only current allocation. hot cpu adding requires some steps. Firstofall cpus must be hotpluggable. Then you can add or remove only current ones, again not maximum cpus. i can implement it but it requires time. @lord-kyron thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#171
No description provided.