Home / Tag Archives: Linux KVM

Tag Archives: Linux KVM

Linux KVM – Change libvirt VM image store path – Part 10

In KVM , VM images are stored in /var/lib/libvirt/images directory by default.  There might be the space limitation since /var filesystem lives under root-vg. In KVM virtualization, everyone would prefer to store VM images in central repository to migrate running VM from one hypervisor to another.  In that case, you need to change the default path for the libvirt images or  you need to mount …

Read More »

Linux KVM – How to add /Remove vCPU to Guest on fly ? Part 9

vCPU Hot-plug KVM

Does KVM support vCPU  hot-plug  ?  Will Linux KVM guest can recognize the newly added vCPU’s ? The answer is “YES” off-course. Like KVM memory management, you can add/remove  vCPU’s to active VM using “virsh” command. But this works if you have configured the KVM guest with Maximum vCPUs parameter. So while deploying the new virtual machines , you should …

Read More »

Linux KVM – How to add /Remove Memory to Guest on Fly ? Part 8

Memory Management on KVM Guest

If application/DB is demanding more  Memory , you need to adjust the VM’s memory limit accordingly. KVM supports dynamic memory addition when you have configured the VM’s with Maximum memory limits. There are two parts in the VM configuration. 1. Maximum Limits 2. current allocation. At any point of time, you can’t exceed the maximum memory  limit using “virsh setmem” command on …

Read More »

Deploy KVM instance using Virt-Manger (VMM)- GUI – Part 5

Specify the ISO image location - KVM guest

Virt-Manager is powerful GUI tool to manage the multiple KVM hosts and it’s associated VM’s. It support’s XEN virtualization too. It can be installed on KVM hypervisor hosts or on centralized management host to manage the multiple hyper-visors from one place.  Using virt-manager,  you can start, pause(suspend), shutdown VMs, display VM details (Ex: VCPUs, memory, disk space), add devices to VMs, clone …

Read More »