[Solved] CentOS 7.7 and VMM

General support questions
Post Reply
MartinR
Posts: 453
Joined: 2015/05/11 07:53:27
Location: UK

[Solved] CentOS 7.7 and VMM

Post by MartinR » 2019/09/18 11:08:39

I use the Virtual Machine Manager to kick off several VMs when required. I've just done the 7.7 upgrade and now VMM fails for all VMs with the message:
Error starting domain: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualisation is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
Is this a known problem with C7.7 or do I need to go digging in my config?
Last edited by MartinR on 2019/09/22 19:39:23, edited 1 time in total.

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: CentOS 7.7 and VMM

Post by avij » 2019/09/18 11:12:26

Did you reboot after updating? uname -a ?

MartinR
Posts: 453
Joined: 2015/05/11 07:53:27
Location: UK

Re: CentOS 7.7 and VMM

Post by MartinR » 2019/09/18 11:25:47

Upgraded last night and did an immediate reboot. Shut down overnight and booted this morning.
Linux XXXX.XXXX 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

MartinR
Posts: 453
Joined: 2015/05/11 07:53:27
Location: UK

Re: CentOS 7.7 and VMM

Post by MartinR » 2019/09/18 11:33:51

If I tail /var/log/messages I see the following:
Sep 18 12:30:42 XXXX libvirtd: 2019-09-18 11:30:42.370+0000: 2374: error : virQEMUCapsCacheLookupDefault:4924 : invalid argument: KVM is not supported by '/usr/libexec/qemu-kvm' on this host
Sep 18 12:31:00 XXXX libvirtd: 2019-09-18 11:31:00.222+0000: 2375: error : qemuProcessStartValidate:5263 : unsupported configuration: Domain requires KVM, but it is not available. Check that virtualisation is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
The first message occurs as VMM starts up, the second on an attempt to boot a VM. I suspect therefore that the first message may be the root cause. Opinions?

BTW, all the logs in /var/log/libvirt/qemu are empty, both before the upgrade and after it.

MartinR
Posts: 453
Joined: 2015/05/11 07:53:27
Location: UK

Re: CentOS 7.7 and VMM

Post by MartinR » 2019/09/22 16:49:05

Bump please.

User avatar
TrevorH
Forum Moderator
Posts: 26525
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7.7 and VMM

Post by TrevorH » 2019/09/22 17:01:03

What processor do you have? And did you check that your BIOS still has virt extensions enabled?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

MartinR
Posts: 453
Joined: 2015/05/11 07:53:27
Location: UK

Re: CentOS 7.7 and VMM

Post by MartinR » 2019/09/22 19:39:00

From lshw

CPU:
product: Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
capabilities: virtual mode extensions,

BIOS
Intel virtualization extension: disabled

Changed to enabled and all seems to work. Thanks. :D

During the reboot after I upgraded the OS the BIOS did drop me into the menu (possible battery issues?), but I changed nothing and booted. I cannot see any way that C7.6 -> 7.7 should have touched the BIOS, so this may just be bad timing. Anyhow it's fixed now, so I can run up a C8 VM next Tuesday. Once again, thanks Trevor.

User avatar
TrevorH
Forum Moderator
Posts: 26525
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [Solved] CentOS 7.7 and VMM

Post by TrevorH » 2019/09/22 19:40:48

It's fairly usual for the default in BIOSes to be Virt disabled and a battery failure will revert you to defaults. I'm suspecting that you'll be on a shopping trip on ebay sooner rather than later...
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

MartinR
Posts: 453
Joined: 2015/05/11 07:53:27
Location: UK

Re: [Solved] CentOS 7.7 and VMM

Post by MartinR » 2019/09/22 19:47:51

I've just had a quick look at it seems to be an easily replaceable one, not one of those soldered horrors. With luck I'll have the right one in one of those bubble packs you see in Poundland.

User avatar
TrevorH
Forum Moderator
Posts: 26525
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [Solved] CentOS 7.7 and VMM

Post by TrevorH » 2019/09/22 20:42:30

Indeed, you do see those but my experience with them is that they're not that great and run out pretty quickly. My son has a woolly hat with an LED light on the front of it that uses CR2032's and the cheap ones last about 10 minutes in that.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”