]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-host-validate: warn if kvm_hv is not loaded for POWER hosts
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 13 Mar 2020 17:48:03 +0000 (14:48 -0300)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 16 Mar 2020 09:38:21 +0000 (10:38 +0100)
commit4653a5194c1a71525648c83cffa61c732fc19671
treefc3e9230e9b81cad399597b69713f437f73fd977
parent1cf2f412ed64027e570734beb53c275ae4566bcc
virt-host-validate: warn if kvm_hv is not loaded for POWER hosts

POWER hosts does not implement CPU virtualization extensions like
x86 or s390x. Instead, all bare-metal POWER hosts are considered
to be virtualization ready.

For POWER, the validation is done by checking if the virtualization
module kvm_hv is loaded in the host. If not, we should warn the
user about it.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tools/virt-host-validate-common.c
tools/virt-host-validate-common.h
tools/virt-host-validate-qemu.c