<html style="scrollbar-base-color: rgb(250, 250, 250); scrollbar-face-color: rgb(205, 212, 212); scrollbar-3dlight-color: rgb(250, 250, 250); scrollbar-shadow-color: rgb(250, 250, 250); scrollbar-highlight-color: rgb(250, 250, 250); scrollbar-darkshadow-color: rgb(250, 250, 250); scrollbar-arrow-color: rgb(250, 250, 250); scrollbar-track-color: rgb(250, 250, 250);" tabindex="-1">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="IE=10" http-equiv="X-UA-Compatible">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16526">
<style style="display: none;" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body style="" dir="ltr" tabindex="0" aria-label="Corpo da mensagem" fPStyle="1">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
<p class="owaPara">Hi Vinzenz,</p>
<p class="owaPara"> </p>
<p class="owaPara">This bug is fixed in more recent QEMU versions (1.6.x, for example). I have opened a bug for this issue:</p>
<p class="owaPara"> </p>
<p class="owaPara"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1063799">https://bugzilla.redhat.com/show_bug.cgi?id=1063799</a></p>
<p class="owaPara"> </p>
<p class="owaPara">Thanks,</p>
<p class="owaPara">Vitor</p>
<p class="owaP"></p>
<div style="color: rgb(40, 40, 40);">
<hr style="width: 98%; display: inline-block;" tabindex="-1">
<div dir="ltr" id="divRplyFwdMsg"><font style="font-size: 11pt;" color="#000000" face="Calibri, sans-serif"><b>De:</b> Vinzenz Feenstra <vfeenstr@redhat.com><br>
<b>Enviado:</b> terça-feira, 11 de fevereiro de 2014 13:43<br>
<b>Para:</b> Vitor de Lima<br>
<b>Cc:</b> engine-devel<br>
<b>Assunto:</b> [ovirt-testday 2] Fake PPC Support - Feedback</font>
<div> </div>
</div>
<div>
<div class="moz-cite-prefix">Hi,<br>
<br>
I hope that I have set up everything correctly this time. (Including the faqemu hook ;))<br>
<br>
This time I ram into this issue when I was starting the VM:<br>
<br>
<br>
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)<br>
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<br>
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<br>
<br>
Thread-1110::DEBUG::2014-02-11 15:31:28,787::vm::2247::vm.Vm::(_startUnderlyingVm) vmId=`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::_ongoingCreations released<br>
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<br>
Traceback (most recent call last):<br>
File "/usr/share/vdsm/vm.py", line 2233, in _startUnderlyingVm<br>
self._run()<br>
File "/usr/share/vdsm/vm.py", line 3153, in _run<br>
self._connection.createXML(domxml, flags),<br>
File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py", line 92, in wrapper<br>
ret = f(*args, **kwargs)<br>
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2920, in createXML<br>
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)<br>
libvirtError: internal error: process exited while connecting to monitor: Warning: Disabling some instructions which are not emulated by TCG (0x0, 0x6)<br>
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<br>
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<br>
<br>
Thread-1110::DEBUG::2014-02-11 15:31:28,837::vm::2714::vm.Vm::(setDownStatus) vmId=`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::<b>Changed state to Down: internal error: process exited while connecting to monitor: Warning: Disabling some instructions which are not
emulated by TCG (0x0, 0x6)</b><b><br>
</b><b>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</b><b><br>
</b><b>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</b><br>
<br>
<b>Details</b><b>:</b><br>
<br>
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'}}<br>
</div>
<br>
<br>
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=<a class="moz-txt-link-rfc2396E" href="http://libvirt.org/schemas/domain/qemu/1.0">"http://libvirt.org/schemas/domain/qemu/1.0"</a>><br>
<name>test</name><br>
<uuid>e8aa218a-7d9c-46a8-885d-2ea33c3432c2</uuid><br>
<memory>262144</memory><br>
<currentMemory>262144</currentMemory><br>
<vcpu current="1">1</vcpu><br>
<memtune><br>
<min_guarantee>1048576</min_guarantee><br>
</memtune><br>
<devices><br>
<channel type="unix"><br>
<target name="com.redhat.rhevm.vdsm" type="virtio"/><br>
<source mode="bind" path="/var/lib/libvirt/qemu/channels/e8aa218a-7d9c-46a8-885d-2ea33c3432c2.com.redhat.rhevm.vdsm"/><br>
</channel><br>
<channel type="unix"><br>
<target name="org.qemu.guest_agent.0" type="virtio"/><br>
<source mode="bind" path="/var/lib/libvirt/qemu/channels/e8aa218a-7d9c-46a8-885d-2ea33c3432c2.org.qemu.guest_agent.0"/><br>
</channel><br>
<input bus="usb" type="tablet"/><br>
<graphics autoport="yes" keymap="en-us" listen="0" passwd="*****" port="-1" type="vnc"/><br>
<emulator>/usr/bin/qemu-system-ppc64</emulator><br>
<memballoon model="virtio"/><br>
<controller index="0" type="scsi"><br>
<address type="spapr-vio"/><br>
</controller><br>
<controller index="1" model="virtio-scsi" type="scsi"/><br>
<video><br>
<model heads="1" type="vga" vram="32768"/><br>
</video><br>
<interface type="bridge"><br>
<mac address="00:1a:4a:fd:38:d2"/><br>
<model type="virtio"/><br>
<source bridge="ovirtmgmt"/><br>
<filterref filter="vdsm-no-mac-spoofing"/><br>
<link state="up"/><br>
</interface><br>
<disk device="cdrom" snapshot="no" type="file"><br>
<address bus="0" controller="0" target="0" type="drive" unit="0"/><br>
<source file="" startupPolicy="optional"/><br>
<target bus="scsi" dev="sda"/><br>
<readonly/><br>
<serial/><br>
</disk><br>
<disk device="disk" snapshot="no" type="file"><br>
<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"/><br>
<target bus="virtio" dev="vda"/><br>
<serial>61b8616f-ce98-44e2-90e5-6956a457d8a0</serial><br>
<boot order="1"/><br>
<driver cache="none" error_policy="stop" io="threads" name="qemu" type="raw"/><br>
</disk><br>
</devices><br>
<os><br>
<type arch="ppc64" machine="pseries">hvm</type><br>
</os><br>
<clock adjustment="0" offset="variable"><br>
<timer name="rtc" tickpolicy="catchup"/><br>
</clock><br>
<br>
<qemu:commandline><br>
<qemu:arg value="-usbdevice"/><br>
<qemu:arg value="keyboard"/><br>
</qemu:commandline><br>
</domain><br>
<br>
<br>
<pre class="moz-signature" cols="72">--
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</pre>
</div>
</div>
</div>
</body>
</html>