Posts

Showing posts with the label KVM

KVM - Managing KVM based Virtual machines : Using CLI

Managing KVM based Virtual machines : Using CLI n this tutorial, we will learn to create new VM with ‘virt-install’ & managing KVM based Virtual machines in CLI using command line tool named ‘virsh’. Firstly, we will create a new Virtual machine using ‘virt-install’, Creating new virtual machine Virt-install is a command line tool used to create KVM based virtual machines. To create a new virtual machine, run the following command $ virt-install –name=Win7 –disk path=/mnt/win7/Vol1.img –graphics spice –vcpu=2 –ram=2048 –location=/home/dan/Windows_7_pro.iso –network bridge=br0 Here virt-install is the command to create new VM, –name  is the name of VM, –disk path  , is the storage path for VM, –graphics , is the way to connect to VM (usually its spice), –vcpu,  number of CPUs for the VM, –ram,  is amount of memory for VM, –location , the source path of installation ISO, –network,  is the bridge adapter to be used by VM> ...

KVM - Virtualization in CentOS/RHEL: Installing KVM

Image
Virtualization in CentOS/RHEL: Installing KVM KVM  (also called QEMU) or  Kernel Based Virtualization Machine  is a Hardware based virtualization software that provide a Linux system capability to run multiple operating systems in Linux environment. It can run Linux as well as Windows family OS. By hardware based virtualization, it means that your processor must support hardware virtualization to run KVM on your system. So if your processor is Intel based, it must support  Intel VT  or if you are using AMD based processor, it must support  AMD-V . So before we proceed further with this tutorial we must check if your processor supports hardware virtualization or not. Most of the modern processors do support hardware virtualization but to be sure, please run the following command, $ egrep ‘(vmx|svm)’ /proc/cpuinfo If you receive  ‘vmx  or  svm’  in the output than processor supports hardware virtualization otherwise it doesn’t...