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

Vinzenz Feenstra vfeenstr at redhat.com
Tue Feb 11 15:43:00 UTC 2014


Hi,

I hope that I have set up everything correctly this time. (Including the 
faqemu hook ;))

This time I ram into this issue when I was starting the VM:


Thread-1110::DEBUG::2014-02-11 
15:31:28,786::libvirtconnection::124::root::(wrapper) Unknown 
libvirterror: ecode: 1 edom: 10 level: 2 message: internal error: 
process exited while connecting to monitor: Warning: Disabling some 
instructions which are not emulated by TCG (0x0, 0x6)
qemu-system-ppc64: -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:fd:38:d2,bus=pci,addr=0x1: 
PCI: slot 1 function 0 not available for virtio-net-pci, in use by pci-ohci
qemu-system-ppc64: -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:fd:38:d2,bus=pci,addr=0x1: 
Device 'virtio-net-pci' could not be initialized

Thread-1110::DEBUG::2014-02-11 
15:31:28,787::vm::2247::vm.Vm::(_startUnderlyingVm) 
vmId=`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::_ongoingCreations released
Thread-1110::ERROR::2014-02-11 
15:31:28,787::vm::2273::vm.Vm::(_startUnderlyingVm) 
vmId=`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::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 3153, 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: Warning: Disabling some instructions which are not emulated by 
TCG (0x0, 0x6)
qemu-system-ppc64: -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:fd:38:d2,bus=pci,addr=0x1: 
PCI: slot 1 function 0 not available for virtio-net-pci, in use by pci-ohci
qemu-system-ppc64: -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:fd:38:d2,bus=pci,addr=0x1: 
Device 'virtio-net-pci' could not be initialized

Thread-1110::DEBUG::2014-02-11 
15:31:28,837::vm::2714::vm.Vm::(setDownStatus) 
vmId=`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::*Changed state to Down: 
internal error: process exited while connecting to monitor: Warning: 
Disabling some instructions which are not emulated by TCG (0x0, 0x6)**
**qemu-system-ppc64: -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:fd:38:d2,bus=pci,addr=0x1: 
PCI: slot 1 function 0 not available for virtio-net-pci, in use by 
pci-ohci**
**qemu-system-ppc64: -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:fd:38:d2,bus=pci,addr=0x1: 
Device 'virtio-net-pci' could not be initialized*

*Details**:*

Thread-1109::DEBUG::2014-02-11 
15:31:28,254::BindingXMLRPC::977::vds::(wrapper) return vmCreate with 
{'status': {'message': 'Done', 'code': 0}, 'vmList': {'status': 
'WaitForLaunch', 'acpiEnable': 'true', 'emulatedMachine': 'pseries', 
'tabletEnable': 'true', 'pid': '0', 'memGuaranteedSize': 1024, 
'timeOffset': '0', 'keyboardLayout': 'en-us', 'displayPort': '-1', 
'displaySecurePort': '-1', 'spiceSslCipherSuite': 'DEFAULT', 'cpuType': 
'POWER7_v2.3', 'custom': {}, 'clientIp': '', 'nicModel': 'rtl8139,pv', 
'smartcardEnable': 'false', 'kvmEnable': 'true', 'vmId': 
'e8aa218a-7d9c-46a8-885d-2ea33c3432c2', 'transparentHugePages': 'true', 
'devices': [{'device': 'vga', 'specParams': {'vram': '32768', 'heads': 
'1'}, 'type': 'video', 'deviceId': 
'4b34d5e5-5df8-45c7-929d-015af53b68b2'}, {'index': '0', 'iface': 'scsi', 
'address': {'bus': '0', 'controller': '0', 'type': 'drive', 'target': 
'0', 'unit': '0'}, 'specParams': {'path': ''}, 'readonly': 'true', 
'deviceId': '1055a21c-db70-4037-b6f5-8eb98b688668', 'path': '', 
'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': 0, 
'iface': 'virtio', 'format': 'raw', 'bootOrder': '1', 'volumeID': 
'06abed34-5464-46d4-9527-3c4e38132587', 'imageID': 
'61b8616f-ce98-44e2-90e5-6956a457d8a0', 'specParams': {}, 'readonly': 
'false', 'domainID': '5b2e0ba6-4457-4929-b925-f1c0d8d37b75', 'optional': 
'false', 'deviceId': '61b8616f-ce98-44e2-90e5-6956a457d8a0', 'poolID': 
'00000002-0002-0002-0002-000000000002', 'device': 'disk', 'shared': 
'false', 'propagateErrors': 'off', 'type': 'disk'}, {'device': 'scsi', 
'index': '0', 'type': 'controller', 'address': {'type': 'spapr-vio'}}, 
{'nicModel': 'pv', 'macAddr': '00:1a:4a:fd:38:d2', 'linkActive': 'true', 
'network': 'ovirtmgmt', 'filter': 'vdsm-no-mac-spoofing', 'specParams': 
{}, 'deviceId': '814af769-c14c-42df-84b6-075930067cfb', 'device': 
'bridge', 'type': 'interface'}, {'device': 'memballoon', 'specParams': 
{'model': 'virtio'}, 'type': 'balloon', 'deviceId': 
'2f41cde8-4660-4e2a-a364-79535be662cf'}, {'index': '1', 'specParams': 
{}, 'deviceId': '2e48b9cb-d3f6-470f-b47e-f68850d34303', 'device': 
'scsi', 'model': 'virtio-scsi', 'type': 'controller'}], 'smp': '1', 
'vmType': 'kvm', 'memSize': 1024, 'displayIp': '0', 
'spiceSecureChannels': 
'smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard', 
'smpCoresPerSocket': '1', 'vmName': 'test', 'display': 'vnc', 'nice': '0'}}


Thread-1110::DEBUG::2014-02-11 15:31:28,321::vm::3119::vm.Vm::(_run) 
vmId=`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::<?xml version="1.0" 
encoding="utf-8"?><domain type="qemu" 
xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0">
     <name>test</name>
     <uuid>e8aa218a-7d9c-46a8-885d-2ea33c3432c2</uuid>
     <memory>262144</memory>
     <currentMemory>262144</currentMemory>
     <vcpu current="1">1</vcpu>
     <memtune>
         <min_guarantee>1048576</min_guarantee>
     </memtune>
     <devices>
         <channel type="unix">
             <target name="com.redhat.rhevm.vdsm" type="virtio"/>
             <source mode="bind" 
path="/var/lib/libvirt/qemu/channels/e8aa218a-7d9c-46a8-885d-2ea33c3432c2.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/e8aa218a-7d9c-46a8-885d-2ea33c3432c2.org.qemu.guest_agent.0"/>
         </channel>
         <input bus="usb" type="tablet"/>
         <graphics autoport="yes" keymap="en-us" listen="0" 
passwd="*****" 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:fd:38:d2"/>
             <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_nfs03/5b2e0ba6-4457-4929-b925-f1c0d8d37b75/images/61b8616f-ce98-44e2-90e5-6956a457d8a0/06abed34-5464-46d4-9527-3c4e38132587"/>
             <target bus="virtio" dev="vda"/>
<serial>61b8616f-ce98-44e2-90e5-6956a457d8a0</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>

     <qemu:commandline>
         <qemu:arg value="-usbdevice"/>
         <qemu:arg value="keyboard"/>
     </qemu:commandline>
</domain>


-- 
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/devel/attachments/20140211/89b0c00b/attachment.html>


More information about the Devel mailing list