Alon Bar-Lev has uploaded a new change for review.

Change subject: vdsm: hardware: fix typo in amd virtualization detection
......................................................................

vdsm: hardware: fix typo in amd virtualization detection

Change-Id: I2deb8f7ab0f306b15edc7b8238325ef6c359e809
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M src/plugins/ovirt-host-deploy/vdsm/hardware.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy refs/changes/58/9758/1

diff --git a/src/plugins/ovirt-host-deploy/vdsm/hardware.py 
b/src/plugins/ovirt-host-deploy/vdsm/hardware.py
index c4685aa..275d1c8 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/hardware.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/hardware.py
@@ -111,7 +111,7 @@
         MSR_VM_CR = 0xc0010114
 
         vm_cr = self._prdmsr(0, MSR_VM_CR)
-        return (vm_cr & (1 << SVM_VM_CR_SVM_DISABLE)) != 0
+        return (vm_cr & (1 << SVM_VM_CR_SVM_DISABLE)) == 0
 
     def _check_kvm_support_on_power(self):
         with open('/proc/cpuinfo', 'r') as f:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2deb8f7ab0f306b15edc7b8238325ef6c359e809
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to