[node-patches] Change in ovirt-node[master]: fix check for kvm support

mburns at redhat.com mburns at redhat.com
Thu Jun 14 22:54:38 UTC 2012


Michael Burns has uploaded a new change for review.

Change subject: fix check for kvm support
......................................................................

fix check for kvm support

Previously, we used virsh to determine if kvm support existed.  We
wanted to remove the dependence on libvirt in the check, so we
tried using systemd-detect-virt, but that determines if you're
running in a vm and not if you're capable of running a vm.

Now, check for existence of /dev/kvm and for the kvm vendor module
to be loaded.  This will indicate if KVM is enabled.

rhbz#832223

Change-Id: Ia4656b82639999e0328d63a37cef09097b287bdb
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M scripts/ovirt-init-functions.sh
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/66/5366/1
--
To view, visit http://gerrit.ovirt.org/5366
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia4656b82639999e0328d63a37cef09097b287bdb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list