LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-20-2016, 10:51 AM   #1
jnojr
Member
 
Registered: Sep 2007
Location: Chandler, AZ
Posts: 227

Rep: Reputation: 20
CentOS 7 - Install virtualization?


I want to be able to play with KVM on my CentOS 7 system. I did 'yum groupinstall "Virtualization Host"' That did install several packages, but I still don't have KVM. I did 'yum install kvm virt-manager libvirt virt-install qemu-kvm' That installed more packages, but I still don't have KVM. I used the RHEL docs, and https://access.redhat.com/documentat...ux_system.html says:

Code:
 Package Group 	Description 	Mandatory Packages 	Optional Packages
Virtualization Hypervisor 	Smallest possible virtualization host installation 	libvirt, qemu-kvm 	qemu-kvm-tools
Virtualization Client 	Clients for installing and managing virtualization instances 	gnome-boxes, virt-install, virt-manager, virt-viewer 	virt-top, libguestfs-tools, libguestfs-tools-c
Virtualization Platform 	Provides an interface for accessing and controlling virtual machines and containers 	libvirt, libvirt-client, virt-who 	fence-virtd-libvirt, fence-virtd-multicast, fence-virtd-serial, libvirt-cim, libvirt-java, libvirt-snmp, perl-Sys-Virt
Virtualization Tools 	Tools for offline virtual image management 	libguestfs 	libguestfs-java, libguestfs-tools, libguestfs-tools-c
However:

Code:
[root@tarantula ~]# yum groupinstall "Virtualization Hypervisor"
Loaded plugins: fastestmirror, langpacks
adobe-linux-x86_64                                       |  951 B     00:00     
base                                                     | 3.6 kB     00:00     
epel/x86_64/metalink                                     |  13 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
Loading mirror speeds from cached hostfile
 * base: centos.chi.host-engine.com
 * epel: linux.mirrors.es.net
 * extras: mirror.hostduplex.com
 * updates: repos.dfw.quadranet.com
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
Googling led to many results suggesting to use 'yum groups mark install foo; yum groups mark convert foo' That didn't help. Others suggested 'yum groupinstall foo --setopt=group_package_types=mandatory,default,optional' That didn't help, either. So... how does one add virtualization to an existing host? The wiki has a HOWTO, but it's for CentOS 6.

Code:
[root@tarantula ~]# rpm -qa | grep kvm
qemu-kvm-common-1.5.3-105.el7_2.3.x86_64
libvirt-daemon-kvm-1.2.17-13.el7_2.3.x86_64
qemu-kvm-1.5.3-105.el7_2.3.x86_64
[root@tarantula ~]# rpm -qa | grep virt
libvirt-daemon-driver-secret-1.2.17-13.el7_2.3.x86_64
virt-manager-common-1.2.1-8.el7.noarch
libvirt-daemon-driver-network-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-kvm-1.2.17-13.el7_2.3.x86_64
libvirt-client-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-qemu-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-config-network-1.2.17-13.el7_2.3.x86_64
libvirt-gobject-0.1.9-1.el7.x86_64
virt-what-1.13-6.el7.x86_64
libvirt-python-1.2.17-2.el7.x86_64
libgovirt-0.3.3-1.el7_2.1.x86_64
libvirt-daemon-driver-storage-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.3.x86_64
libvirt-glib-0.1.9-1.el7.x86_64
libvirt-daemon-driver-lxc-1.2.17-13.el7_2.3.x86_64
virt-install-1.2.1-8.el7.noarch
libvirt-daemon-config-nwfilter-1.2.17-13.el7_2.3.x86_64
libvirt-1.2.17-13.el7_2.3.x86_64
virt-manager-1.2.1-8.el7.noarch
libvirt-daemon-1.2.17-13.el7_2.3.x86_64
libvirt-gconfig-0.1.9-1.el7.x86_64
libvirt-daemon-driver-interface-1.2.17-13.el7_2.3.x86_64
[root@tarantula ~]# rpm -qa | grep qemu
qemu-kvm-common-1.5.3-105.el7_2.3.x86_64
libvirt-daemon-driver-qemu-1.2.17-13.el7_2.3.x86_64
qemu-system-x86-2.0.0-1.el7.6.x86_64
qemu-img-1.5.3-105.el7_2.3.x86_64
qemu-guest-agent-2.3.0-4.el7.x86_64
qemu-common-2.0.0-1.el7.6.x86_64
qemu-kvm-1.5.3-105.el7_2.3.x86_64
ipxe-roms-qemu-20130517-8.gitc4bce43.el7_2.1.noarch
[root@tarantula ~]# uname -a
Linux tarantula 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@tarantula ~]# lsmod | grep kvm
[root@tarantula ~]# yum install kvm
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.chi.host-engine.com
 * epel: linux.mirrors.es.net
 * extras: mirror.hostduplex.com
 * updates: repos.dfw.quadranet.com
Package 2:qemu-system-x86-2.0.0-1.el7.6.x86_64 already installed and latest version
Nothing to do
 
Old 03-20-2016, 03:48 PM   #2
jnojr
Member
 
Registered: Sep 2007
Location: Chandler, AZ
Posts: 227

Original Poster
Rep: Reputation: 20
Looks like when I updated the kernel to 3.10.0-327.10.0, the modules did not follow. Removing and reinstalling did not fix. I had to revert to 3.10.0-327 I can see my kvm modules now...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install & Configure KVM Virtualization On CentOS 6.X / RHEL 6.X LXer Syndicated Linux News 0 11-26-2013 07:54 PM
LXer: Virtualization With Xen On CentOS 6.3 (x86_64) (Paravirtualization & Hardware Virtualization) LXer Syndicated Linux News 0 08-29-2012 05:40 AM
Install CentOS 5.1 (x86_64) with Virtualization on ASUS P5K Premium/WIFI-AP dbaxps Linux - Wireless Networking 1 01-17-2008 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration