[Engine-devel] [ovirt-testday] Fake PPC Support - Feedback

Vinzenz Feenstra vfeenstr at redhat.com
Thu Jan 30 13:22:51 UTC 2014


Hi,

On the test day I was testing the Fake PPC support. I managed to 
register the Fake PPC host into the engine. However when I tried to run 
the VM it failed with libvirt responding:
*
libvirtError: internal error: process exited while connecting to 
monitor: "kvm" accelerator does not exist.**
**No accelerator found!**
**KVM not supported for this target**
***
Which does not make much sense though. Since it should not try to use 
'kvm'. And I am not really sure why it does.
Please let me know if there's anything else I would need to provide you 
so you can figure out what is going on. Right now the server is still in 
the same state. But I eventually will have to use it for something else.

Here's the part of the log which prints the generated DomainXML:

Thread-77::DEBUG::2014-01-23 15:43:46,834::vm::3130::vm.Vm::(_run) 
vmId=`a5409fe7-8054-46ce-91c2-2d565e7edc5b`::<?xml version="1.0" 
encoding="utf-8"?>
<domain type="kvm" xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0">
         <name>asdfasd</name>
<uuid>a5409fe7-8054-46ce-91c2-2d565e7edc5b</uuid>
         <memory>524288</memory>
         <currentMemory>524288</currentMemory>
         <vcpu current="1">1</vcpu>
         <memtune>
                 <min_guarantee>524288</min_guarantee>
         </memtune>
         <devices>
                 <channel type="unix">
                         <target name="com.redhat.rhevm.vdsm" 
type="virtio"/>
                         <source mode="bind" 
path="/var/lib/libvirt/qemu/channels/a5409fe7-8054-46ce-91c2-2d565e7edc5b.com.redhat.rhevm.vdsm"/>
                 </channel>
                 <channel type="unix">
                         <target name="org.qemu.guest_agent.0" 
type="virtio"/>
                         <source mode="bind" 
path="/var/lib/libvirt/qemu/channels/a5409fe7-8054-46ce-91c2-2d565e7edc5b.org.qemu.guest_agent.0"/>
                 </channel>
                 <input bus="usb" type="tablet"/>
                 <graphics autoport="yes" keymap="en-us" listen="0" 
passwd="*****" passwdValidTo="1970-01-01T00:00:01" port="-1" type="vnc"/>
<emulator>/usr/bin/qemu-system-ppc64</emulator>
                 <memballoon model="virtio"/>
                 <controller index="0" type="scsi">
                         <address type="spapr-vio"/>
                 </controller>
                 <controller index="1" model="virtio-scsi" type="scsi"/>
                 <video>
                         <model heads="1" type="vga" vram="32768"/>
                 </video>
                 <interface type="bridge">
                         <mac address="00:1a:4a:65:ca:b2"/>
                         <model type="virtio"/>
                         <source bridge="ovirtmgmt"/>
                         <filterref filter="vdsm-no-mac-spoofing"/>
                         <link state="up"/>
                 </interface>
                 <disk device="cdrom" snapshot="no" type="file">
                         <address bus="0" controller="0" target="0" 
type="drive" unit="0"/>
                         <source file="" startupPolicy="optional"/>
                         <target bus="scsi" dev="sda"/>
                         <readonly/>
                         <serial/>
                 </disk>
                 <disk device="disk" snapshot="no" type="file">
                         <source 
file="/rhev/data-center/mnt/str-02.rhev.lab.eng.brq.redhat.com:_mnt_export_nfs_150_nfs04/efd2a9ce-6417-44e9-ac59-bb577f22bbc3/images/4f6be340-f7b1-4b78-9aa3-7390ffd6bec8/e4f6d99b-c94c-4ae9-8bd6-5212a1d4e9df"/>
                         <target bus="virtio" dev="vda"/>
<serial>4f6be340-f7b1-4b78-9aa3-7390ffd6bec8</serial>
                         <boot order="1"/>
                         <driver cache="none" error_policy="stop" 
io="threads" name="qemu" type="raw"/>
                 </disk>
         </devices>
         <os>
                 <type arch="ppc64" machine="pseries">hvm</type>
         </os>
         <clock adjustment="0" offset="variable">
                 <timer name="rtc" tickpolicy="catchup"/>
         </clock>
         <cpu>
                 <topology cores="1" sockets="1" threads="1"/>
         </cpu>
         <qemu:commandline>
                 <qemu:arg value="-usbdevice"/>
                 <qemu:arg value="keyboard"/>
         </qemu:commandline>
</domain>

Thread-77::DEBUG::2014-01-23 
15:43:47,566::libvirtconnection::124::root::(wrapper) Unknown 
libvirterror: ecode: 1 edom: 10 level: 2 message: internal error: 
process exited while connecting to monitor: "kvm" accelerator does not 
exist.
No accelerator found!
KVM not supported for this target

Thread-77::DEBUG::2014-01-23 
15:43:47,567::vm::2247::vm.Vm::(_startUnderlyingVm) 
vmId=`a5409fe7-8054-46ce-91c2-2d565e7edc5b`::_ongoingCreations released
Thread-77::ERROR::2014-01-23 
15:43:47,567::vm::2273::vm.Vm::(_startUnderlyingVm) 
vmId=`a5409fe7-8054-46ce-91c2-2d565e7edc5b`::The vm start process failed
Traceback (most recent call last):
   File "/usr/share/vdsm/vm.py", line 2233, in _startUnderlyingVm
     self._run()
   File "/usr/share/vdsm/vm.py", line 3164, in _run
     self._connection.createXML(domxml, flags),
   File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py", 
line 92, in wrapper
     ret = f(*args, **kwargs)
   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2920, in 
createXML
     if ret is None:raise libvirtError('virDomainCreateXML() failed', 
conn=self)
libvirtError: internal error: process exited while connecting to 
monitor: "kvm" accelerator does not exist.
No accelerator found!
KVM not supported for this target







Extraction of the capabilities related to this:

   <guest>
     <os_type>hvm</os_type>
     <arch name='ppc'>
       <wordsize>32</wordsize>
       <emulator>/usr/bin/qemu-system-ppc</emulator>
       <machine>g3beige</machine>
       <machine>prep</machine>
       <machine>mpc8544ds</machine>
       <machine>mac99</machine>
       <machine>ppce500</machine>
       <machine>virtex-ml507</machine>
       <machine>bamboo</machine>
       <machine>taihu</machine>
       <machine>ref405ep</machine>
       <machine>none</machine>
       <domain type='qemu'>
       </domain>
     </arch>
     <features>
       <cpuselection/>
       <deviceboot/>
     </features>
   </guest>

   <guest>
     <os_type>hvm</os_type>
     <arch name='ppc64'>
       <wordsize>64</wordsize>
       <emulator>/usr/bin/qemu-system-ppc64</emulator>
       <machine>mac99</machine>
       <machine>prep</machine>
       <machine>mpc8544ds</machine>
       <machine>g3beige</machine>
       <machine>ppce500</machine>
       <machine>virtex-ml507</machine>
       <machine>pseries</machine>
       <machine>bamboo</machine>
       <machine>taihu</machine>
       <machine>ref405ep</machine>
       <machine>none</machine>
       <domain type='qemu'>
       </domain>
     </arch>
     <features>
       <cpuselection/>
       <deviceboot/>
     </features>
   </guest>

-- 
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20140130/7682310c/attachment.html>


More information about the Engine-devel mailing list