KVM: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
No edit summary
→‎Installing on CentOS 7.5: write up to loading of KVM module
Line 7: Line 7:
* ''Tested on CentOS 7.5.1804''
* ''Tested on CentOS 7.5.1804''


Install required packages.
== Install packages and start libvirtd ==
 
Install required packages:


<source lang="bash">
<source lang="bash">
# yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install
# yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install
</source>
Start the libvirtd service:
<source lang="bash">
# systemctl enable libvirtd
# systemctl start libvirtd
</source>
Make sure KVM module loaded using lsmod command:
<source lang="bash">
# lsmod | grep -i kvm
kvm_intel            178927  0
kvm                  578558  1 kvm_intel
irqbypass              13503  1 kvm
</source>
</source>

Revision as of 14:42, 5 July 2018

Kernel-based Virtual Machine. A hypervisor technology featuring tight integration to Linux kernel.

Installation

Installing on CentOS 7.5

  • Tested on CentOS 7.5.1804

Install packages and start libvirtd

Install required packages:

# yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install

Start the libvirtd service:

# systemctl enable libvirtd
# systemctl start libvirtd

Make sure KVM module loaded using lsmod command:

# lsmod | grep -i kvm
kvm_intel             178927  0
kvm                   578558  1 kvm_intel
irqbypass              13503  1 kvm