[node-patches] Change in ovirt-node[master]: functions: Improve virt capability detection

mburns at redhat.com mburns at redhat.com
Tue Dec 11 15:07:31 UTC 2012


Michael Burns has submitted this change and it was merged.

Change subject: functions: Improve virt capability detection
......................................................................


functions: Improve virt capability detection

Previously it was just searched for the term "kvm" in the capabilities
provided by libvirt to determin if kvm is enabled or not. This could
lead to false positives as the term "kvm" did not only appear as a
domain type (the information the logic is looking for) but also as part
of the emulator (qemu-kvm).
Now the search is more precise and kvm support is only detected if a kvm
domain is found.

rhbz#874377

Change-Id: I0f45a14c3de46c52f2f04b54af049872fb39280d
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirtnode/ovirtfunctions.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9380
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0f45a14c3de46c52f2f04b54af049872fb39280d
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list