Reputation: 3
I got kvm source using git clone git://git.kernel.org/pub/scm/virt/kvm/kvm.git
.
I want to play around with the kvm core in order to add and/or remove features and each build to check certain VMs under kvm.
I haven't found any info on how to do it appropriately - the installation and the un-installation of kvm. (All installation related answers are using "apt-get install" and all uninstallation are using "apt-get purge", which doesn't help with building from source).
Anyone knows how to do this appropriately? or can reference me to a helpful source?
Thank you
Upvotes: 0
Views: 2722
Reputation: 10947
As explained here, KVM is a part of the Linux kernel, transforming the OS into a hypervisor. It cannot be run without using Linux. Indeed, the tree you are referring to is a Linux kernel. You'd need to configure the kernel (enabling KVM), build and install it.
If you look for a stand-alone codebase, you can refer to the Xen or the Jailhouse hypervisors. Note that Linux is mandatory for Jailhouse. For Xen, instead, there are more options for the Dom0 OS.
Upvotes: 1