Experiment No.2
Experiment No.2
2
Aim:- Creating and running virtual machines on Hosted Hypervisor like Virtual Box
and KVM.
Theory:-
KVM is part of Linux. If you’ve got Linux 2.6.20 or newer, you’ve got KVM. KVM was
first announced in 2006 and merged into the mainline Linux kernel version a year
later. Because KVM is part of existing Linux code, it immediately benefits from every
new Linux feature, fix, and advancement without additional engineering.
Implementing KVM
Long story short, you have to run a version of Linux that was released after 2007 and
it needs to be installed on X86 hardware that supports virtualization capabilities. If
both of those boxes are checked, then all you have to do is load 2 existing modules
(a host kernel module and a processor-specific module), an emulator, and any
drivers that will help you run additional systems.
Kernel-based Virtual Machine (KVM) is an open source virtualization technology
built into Linux®. Specifically, KVM lets you turn Linux into a hypervisor that allows a
host machine to run multiple, isolated virtual environments called guests or virtual
machines (VMs). KVM is part of Linux.
Basically, KVM is a type-2 hypervisor (installed on top of another OS, in this case
some flavor of Linux). It runs, however, like a type-1 hypervisor and can provide the
power and functionality of even the most complex and powerful type-1 hypervisors,
depending on the tools that are used with the KVM package itself.
Output:-
1) Installation of KVM:-
2) Start the Virtual Machine.