Change in vdsm[master]: ppc64le: vm.py support for running ppc64le systems

mpolednik at redhat.com mpolednik at redhat.com
Thu Mar 26 09:08:34 UTC 2015


Martin Polednik has uploaded a new change for review.

Change subject: ppc64le: vm.py support for running ppc64le systems
......................................................................

ppc64le: vm.py support for running ppc64le systems

Change-Id: I1ad44c79bfee11745cce530312f283c8d0b5ce9a
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/16/39216/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index c5221ca..7a64b30 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -804,7 +804,7 @@
         self._watchdogEvent = {}
         self.arch = caps.getTargetArch()
 
-        if (self.arch not in ['ppc64', 'x86_64']):
+        if self.arch not in caps.Architecture.POWER or self.arch != 'x86_64':
             raise RuntimeError('Unsupported architecture: %s' % self.arch)
 
         self._powerDownEvent = threading.Event()


-- 
To view, visit https://gerrit.ovirt.org/39216
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ad44c79bfee11745cce530312f283c8d0b5ce9a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>


More information about the vdsm-patches mailing list