** Description changed:

+ Impact; cannot start kvm vms through libvirt on ppc64le
+ Test case: start kvm vm through nova
+ Regression potential:  this patch is cherrypicked from upstream and only 
affects how the emulator is chosen for ppc systems, so there should be no 
regressions.
+ 
+ 
  on ppc64el (with 'uname -m' of ppc64le), libvirt will complain:
-  libvirt: QEMU Driver error : internal error: Cannot find suitable emulator 
for ppc64le
+  libvirt: QEMU Driver error : internal error: Cannot find suitable emulator 
for ppc64le
  
  This is easily reproducible with the python-libvirt bindings:
  
  $ sudo apt-get install python-libvirt libvirtd-bin qemu-system-ppc
  $ python -c 'import libvirt; libvirt.open().getVersion(); print("GOOD")'
  libvirt: QEMU Driver error : internal error: Cannot find suitable emulator 
for ppc64le
  Traceback (most recent call last):
-   File "<string>", line 1, in <module>
-   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3679, in getVersion
-     if ret == -1: raise libvirtError ('virConnectGetVersion() failed', 
conn=self)
+   File "<string>", line 1, in <module>
+   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3679, in getVersion
+     if ret == -1: raise libvirtError ('virConnectGetVersion() failed', 
conn=self)
  libvirt.libvirtError: internal error: Cannot find suitable emulator for 
ppc64le
  
  The issue here is that it raises exception, which is not expected in
  nova-compute at least.
  
  A workaround can be acheived via:
  $ sudo ln -s /usr/bin/qemu-system-ppc64 /usr/bin/qemu-system-ppc64le
  $ sudo stop libvirt-bin; sudo start libvirt-bin

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1418221

Title:
  internal error: Cannot find suitable emulator for ppc64le

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1418221/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to