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

This is a multi-part message in MIME format. --------------070509070905070907070200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070509070905070907070200 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body text="#000000" bgcolor="#FFFFFF"> Hi,<br> <br> 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:<br> <b><br> libvirtError: internal error: process exited while connecting to monitor: "kvm" accelerator does not exist.</b><b><br> </b><b> No accelerator found!</b><b><br> </b><b> KVM not supported for this target</b><b><br> </b><b> </b><br> Which does not make much sense though. Since it should not try to use 'kvm'. And I am not really sure why it does.<br> 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.<br> <br> Here's the part of the log which prints the generated DomainXML:<br> <br> 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"?><br> <domain type="kvm" 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>asdfasd</name><br> <uuid>a5409fe7-8054-46ce-91c2-2d565e7edc5b</uuid><br> <memory>524288</memory><br> <currentMemory>524288</currentMemory><br> <vcpu current="1">1</vcpu><br> <memtune><br> <min_guarantee>524288</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/a5409fe7-8054-46ce-91c2-2d565e7edc5b.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/a5409fe7-8054-46ce-91c2-2d565e7edc5b.org.qemu.guest_agent.0"/><br> </channel><br> <input bus="usb" type="tablet"/><br> <graphics autoport="yes" keymap="en-us" listen="0" passwd="*****" passwdValidTo="1970-01-01T00:00:01" 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:65:ca:b2"/><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_nfs04/efd2a9ce-6417-44e9-ac59-bb577f22bbc3/images/4f6be340-f7b1-4b78-9aa3-7390ffd6bec8/e4f6d99b-c94c-4ae9-8bd6-5212a1d4e9df"/><br> <target bus="virtio" dev="vda"/><br> <serial>4f6be340-f7b1-4b78-9aa3-7390ffd6bec8</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> <cpu><br> <topology cores="1" sockets="1" threads="1"/><br> </cpu><br> <qemu:commandline><br> <qemu:arg value="-usbdevice"/><br> <qemu:arg value="keyboard"/><br> </qemu:commandline><br> </domain><br> <br> 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.<br> No accelerator found!<br> KVM not supported for this target<br> <br> Thread-77::DEBUG::2014-01-23 15:43:47,567::vm::2247::vm.Vm::(_startUnderlyingVm) vmId=`a5409fe7-8054-46ce-91c2-2d565e7edc5b`::_ongoingCreations released<br> 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<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 3164, 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: "kvm" accelerator does not exist.<br> No accelerator found!<br> KVM not supported for this target<br> <br> <br> <br> <br> <br> <br> <br> Extraction of the capabilities related to this:<br> <br> <guest><br> <os_type>hvm</os_type><br> <arch name='ppc'><br> <wordsize>32</wordsize><br> <emulator>/usr/bin/qemu-system-ppc</emulator><br> <machine>g3beige</machine><br> <machine>prep</machine><br> <machine>mpc8544ds</machine><br> <machine>mac99</machine><br> <machine>ppce500</machine><br> <machine>virtex-ml507</machine><br> <machine>bamboo</machine><br> <machine>taihu</machine><br> <machine>ref405ep</machine><br> <machine>none</machine><br> <domain type='qemu'><br> </domain><br> </arch><br> <features><br> <cpuselection/><br> <deviceboot/><br> </features><br> </guest><br> <br> <guest><br> <os_type>hvm</os_type><br> <arch name='ppc64'><br> <wordsize>64</wordsize><br> <emulator>/usr/bin/qemu-system-ppc64</emulator><br> <machine>mac99</machine><br> <machine>prep</machine><br> <machine>mpc8544ds</machine><br> <machine>g3beige</machine><br> <machine>ppce500</machine><br> <machine>virtex-ml507</machine><br> <machine>pseries</machine><br> <machine>bamboo</machine><br> <machine>taihu</machine><br> <machine>ref405ep</machine><br> <machine>none</machine><br> <domain type='qemu'><br> </domain><br> </arch><br> <features><br> <cpuselection/><br> <deviceboot/><br> </features><br> </guest><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> </body> </html> --------------070509070905070907070200--

This is a multi-part message in MIME format. --------------090606070301000804090104 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------090606070301000804090104 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <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> </body> </html> --------------090606070301000804090104--

--_000_8faf4ba5220c41668692502f362994abserv030corpeldoradoorgb_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Vinzenz, This bug is fixed in more recent QEMU versions (1.6.x, for example). I have= opened a bug for this issue: https://bugzilla.redhat.com/show_bug.cgi?id=3D1063799 Thanks, Vitor ________________________________ De: Vinzenz Feenstra <vfeenstr@redhat.com> Enviado: ter=E7a-feira, 11 de fevereiro de 2014 13:43 Para: Vitor de Lima Cc: engine-devel Assunto: [ovirt-testday 2] Fake PPC Support - Feedback Hi, I hope that I have set up everything correctly this time. (Including the fa= qemu 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: interna= l error: process exited while connecting to monitor: Warning: Disabling som= e instructions which are not emulated by TCG (0x0, 0x6) qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: PCI: slot 1 function 0 not avail= able for virtio-net-pci, in use by pci-ohci qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: Device 'virtio-net-pci' could no= t be initialized Thread-1110::DEBUG::2014-02-11 15:31:28,787::vm::2247::vm.Vm::(_startUnderl= yingVm) vmId=3D`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::_ongoingCreations re= leased Thread-1110::ERROR::2014-02-11 15:31:28,787::vm::2273::vm.Vm::(_startUnderl= yingVm) vmId=3D`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 =3D f(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2920, in creat= eXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn= =3Dself) libvirtError: internal error: process exited while connecting to monitor: W= arning: Disabling some instructions which are not emulated by TCG (0x0, 0x6= ) qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: PCI: slot 1 function 0 not avail= able for virtio-net-pci, in use by pci-ohci qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: Device 'virtio-net-pci' could no= t be initialized Thread-1110::DEBUG::2014-02-11 15:31:28,837::vm::2714::vm.Vm::(setDownStatu= s) vmId=3D`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::Changed state to Down: in= ternal error: process exited while connecting to monitor: Warning: Disablin= g some instructions which are not emulated by TCG (0x0, 0x6) qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: PCI: slot 1 function 0 not avail= able for virtio-net-pci, in use by pci-ohci qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: Device 'virtio-net-pci' could no= t be initialized Details: Thread-1109::DEBUG::2014-02-11 15:31:28,254::BindingXMLRPC::977::vds::(wrap= per) return vmCreate with {'status': {'message': 'Done', 'code': 0}, 'vmLis= t': {'status': 'WaitForLaunch', 'acpiEnable': 'true', 'emulatedMachine': 'p= series', 'tabletEnable': 'true', 'pid': '0', 'memGuaranteedSize': 1024, 'ti= meOffset': '0', 'keyboardLayout': 'en-us', 'displayPort': '-1', 'displaySec= urePort': '-1', 'spiceSslCipherSuite': 'DEFAULT', 'cpuType': 'POWER7_v2.3',= 'custom': {}, 'clientIp': '', 'nicModel': 'rtl8139,pv', 'smartcardEnable':= 'false', 'kvmEnable': 'true', 'vmId': 'e8aa218a-7d9c-46a8-885d-2ea33c3432c= 2', 'transparentHugePages': 'true', 'devices': [{'device': 'vga', 'specPara= ms': {'vram': '32768', 'heads': '1'}, 'type': 'video', 'deviceId': '4b34d5e= 5-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-d= b70-4037-b6f5-8eb98b688668', 'path': '', 'device': 'cdrom', 'shared': 'fals= e', 'type': 'disk'}, {'index': 0, 'iface': 'virtio', 'format': 'raw', 'boot= Order': '1', 'volumeID': '06abed34-5464-46d4-9527-3c4e38132587', 'imageID':= '61b8616f-ce98-44e2-90e5-6956a457d8a0', 'specParams': {}, 'readonly': 'fal= se', 'domainID': '5b2e0ba6-4457-4929-b925-f1c0d8d37b75', 'optional': 'false= ', 'deviceId': '61b8616f-ce98-44e2-90e5-6956a457d8a0', 'poolID': '00000002-= 0002-0002-0002-000000000002', 'device': 'disk', 'shared': 'false', 'propaga= teErrors': 'off', 'type': 'disk'}, {'device': 'scsi', 'index': '0', 'type':= 'controller', 'address': {'type': 'spapr-vio'}}, {'nicModel': 'pv', 'macAd= dr': '00:1a:4a:fd:38:d2', 'linkActive': 'true', 'network': 'ovirtmgmt', 'fi= lter': 'vdsm-no-mac-spoofing', 'specParams': {}, 'deviceId': '814af769-c14c= -42df-84b6-075930067cfb', 'device': 'bridge', 'type': 'interface'}, {'devic= e': 'memballoon', 'specParams': {'model': 'virtio'}, 'type': 'balloon', 'de= viceId': '2f41cde8-4660-4e2a-a364-79535be662cf'}, {'index': '1', 'specParam= s': {}, 'deviceId': '2e48b9cb-d3f6-470f-b47e-f68850d34303', 'device': 'scsi= ', 'model': 'virtio-scsi', 'type': 'controller'}], 'smp': '1', 'vmType': 'k= vm', 'memSize': 1024, 'displayIp': '0', 'spiceSecureChannels': 'smain,sinpu= ts,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard', 'smpCoresPerSo= cket': '1', 'vmName': 'test', 'display': 'vnc', 'nice': '0'}} Thread-1110::DEBUG::2014-02-11 15:31:28,321::vm::3119::vm.Vm::(_run) vmId= =3D`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::<?xml version=3D"1.0" encoding= =3D"utf-8"?><domain type=3D"qemu" xmlns:qemu=3D"http://libvirt.org/schemas/= domain/qemu/1.0"<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=3D"1">1</vcpu> <memtune> <min_guarantee>1048576</min_guarantee> </memtune> <devices> <channel type=3D"unix"> <target name=3D"com.redhat.rhevm.vdsm" type=3D"virtio"/> <source mode=3D"bind" path=3D"/var/lib/libvirt/qemu/channels/e8= aa218a-7d9c-46a8-885d-2ea33c3432c2.com.redhat.rhevm.vdsm"/> </channel> <channel type=3D"unix"> <target name=3D"org.qemu.guest_agent.0" type=3D"virtio"/> <source mode=3D"bind" path=3D"/var/lib/libvirt/qemu/channels/e8= aa218a-7d9c-46a8-885d-2ea33c3432c2.org.qemu.guest_agent.0"/> </channel> <input bus=3D"usb" type=3D"tablet"/> <graphics autoport=3D"yes" keymap=3D"en-us" listen=3D"0" passwd=3D"= *****" port=3D"-1" type=3D"vnc"/> <emulator>/usr/bin/qemu-system-ppc64</emulator> <memballoon model=3D"virtio"/> <controller index=3D"0" type=3D"scsi"> <address type=3D"spapr-vio"/> </controller> <controller index=3D"1" model=3D"virtio-scsi" type=3D"scsi"/> <video> <model heads=3D"1" type=3D"vga" vram=3D"32768"/> </video> <interface type=3D"bridge"> <mac address=3D"00:1a:4a:fd:38:d2"/> <model type=3D"virtio"/> <source bridge=3D"ovirtmgmt"/> <filterref filter=3D"vdsm-no-mac-spoofing"/> <link state=3D"up"/> </interface> <disk device=3D"cdrom" snapshot=3D"no" type=3D"file"> <address bus=3D"0" controller=3D"0" target=3D"0" type=3D"drive"= unit=3D"0"/> <source file=3D"" startupPolicy=3D"optional"/> <target bus=3D"scsi" dev=3D"sda"/> <readonly/> <serial/> </disk> <disk device=3D"disk" snapshot=3D"no" type=3D"file"> <source file=3D"/rhev/data-center/mnt/str-02.rhev.lab.eng.brq.r= edhat.com:_mnt_export_nfs_150_nfs03/5b2e0ba6-4457-4929-b925-f1c0d8d37b75/im= ages/61b8616f-ce98-44e2-90e5-6956a457d8a0/06abed34-5464-46d4-9527-3c4e38132= 587"/> <target bus=3D"virtio" dev=3D"vda"/> <serial>61b8616f-ce98-44e2-90e5-6956a457d8a0</serial> <boot order=3D"1"/> <driver cache=3D"none" error_policy=3D"stop" io=3D"threads" nam= e=3D"qemu" type=3D"raw"/> </disk> </devices> <os> <type arch=3D"ppc64" machine=3D"pseries">hvm</type> </os> <clock adjustment=3D"0" offset=3D"variable"> <timer name=3D"rtc" tickpolicy=3D"catchup"/> </clock> <qemu:commandline> <qemu:arg value=3D"-usbdevice"/> <qemu:arg value=3D"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 --_000_8faf4ba5220c41668692502f362994abserv030corpeldoradoorgb_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html style=3D"scrollbar-base-color: rgb(250, 250, 250); scrollbar-face-col= or: rgb(205, 212, 212); scrollbar-3dlight-color: rgb(250, 250, 250); scroll= bar-shadow-color: rgb(250, 250, 250); scrollbar-highlight-color: rgb(250, 2= 50, 250); scrollbar-darkshadow-color: rgb(250, 250, 250); scrollbar-arrow-c= olor: rgb(250, 250, 250); scrollbar-track-color: rgb(250, 250, 250);" tabin= dex=3D"-1"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <meta content=3D"IE=3D10" http-equiv=3D"X-UA-Compatible"> <meta name=3D"GENERATOR" content=3D"MSHTML 9.00.8112.16526"> <style style=3D"display: none;" id=3D"owaParaStyle">P {margin-top:0;margin-= bottom:0;}</style> </head> <body style=3D"" dir=3D"ltr" tabindex=3D"0" aria-label=3D"Corpo da mensagem= " fPStyle=3D"1"> <div name=3D"divtagdefaultwrapper" id=3D"divtagdefaultwrapper" style=3D"fon= t-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #0000= 00; margin: 0"> <p class=3D"owaPara">Hi Vinzenz,</p> <p class=3D"owaPara"> </p> <p class=3D"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=3D"owaPara"> </p> <p class=3D"owaPara"><a href=3D"https://bugzilla.redhat.com/show_bug.cgi?id= =3D1063799">https://bugzilla.redhat.com/show_bug.cgi?id=3D1063799</a></p> <p class=3D"owaPara"> </p> <p class=3D"owaPara">Thanks,</p> <p class=3D"owaPara">Vitor</p> <p class=3D"owaP"></p> <div style=3D"color: rgb(40, 40, 40);"> <hr style=3D"width: 98%; display: inline-block;" tabindex=3D"-1"> <div dir=3D"ltr" id=3D"divRplyFwdMsg"><font style=3D"font-size: 11pt;" colo= r=3D"#000000" face=3D"Calibri, sans-serif"><b>De:</b> Vinzenz Feenstra <= vfeenstr@redhat.com><br> <b>Enviado:</b> ter=E7a-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=3D"moz-cite-prefix">Hi,<br> <br> I hope that I have set up everything correctly this time. (Including the fa= qemu 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: interna= l error: process exited while connecting to monitor: Warning: Disabling som= e instructions which are not emulated by TCG (0x0, 0x6)<br> qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: PCI: slot 1 function 0 not avail= able for virtio-net-pci, in use by pci-ohci<br> qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: Device 'virtio-net-pci' could no= t be initialized<br> <br> Thread-1110::DEBUG::2014-02-11 15:31:28,787::vm::2247::vm.Vm::(_startUnderl= yingVm) vmId=3D`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::_ongoingCreations re= leased<br> Thread-1110::ERROR::2014-02-11 15:31:28,787::vm::2273::vm.Vm::(_startUnderl= yingVm) vmId=3D`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 _startUnderlyi= ngVm<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 =3D 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=3Dself)<br> libvirtError: internal error: process exited while connecting to monitor: W= arning: Disabling some instructions which are not emulated by TCG (0x0, 0x6= )<br> qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: PCI: slot 1 function 0 not avail= able for virtio-net-pci, in use by pci-ohci<br> qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac= =3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: Device 'virtio-net-pci' could no= t be initialized<br> <br> Thread-1110::DEBUG::2014-02-11 15:31:28,837::vm::2714::vm.Vm::(setDownStatu= s) vmId=3D`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::<b>Changed state to Down:= internal error: process exited while connecting to monitor: Warning: Disab= ling some instructions which are not emulated by TCG (0x0, 0x6)</b><b><br> </b><b>qemu-system-ppc64: -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet= 0,mac=3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: 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=3Dhostnet0,id=3Dnet= 0,mac=3D00:1a:4a:fd:38:d2,bus=3Dpci,addr=3D0x1: Device 'virtio-net-pci' cou= ld 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::(wrap= per) return vmCreate with {'status': {'message': 'Done', 'code': 0}, 'vmLis= t': {'status': 'WaitForLaunch', 'acpiEnable': 'true', 'emulatedMachine': 'p= series', 'tabletEnable': 'true', 'pid': '0', 'memGuaranteedSize': 1024, 'timeOffset': '0', 'keyboardLayout'= : 'en-us', 'displayPort': '-1', 'displaySecurePort': '-1', 'spiceSslCipherS= uite': 'DEFAULT', 'cpuType': 'POWER7_v2.3', 'custom': {}, 'clientIp': '', '= nicModel': 'rtl8139,pv', 'smartcardEnable': 'false', 'kvmEnable': 'true', 'vmId': 'e8aa218a-7d9c-46a8-885d-2ea33c3432c= 2', 'transparentHugePages': 'true', 'devices': [{'device': 'vga', 'specPara= ms': {'vram': '32768', 'heads': '1'}, 'type': 'video', 'deviceId': '4b34d5e= 5-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', 'pa= th': '', 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': 0, 'iface': 'virtio', 'format': 'raw',= 'bootOrder': '1', 'volumeID': '06abed34-5464-46d4-9527-3c4e38132587', 'ima= geID': '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', 'i= ndex': '0', 'type': 'controller', 'address': {'type': 'spapr-vio'}}, {'nicModel': 'pv', 'macAddr': '00:1a:4a= :fd:38:d2', 'linkActive': 'true', 'network': 'ovirtmgmt', 'filter': 'vdsm-n= o-mac-spoofing', 'specParams': {}, 'deviceId': '814af769-c14c-42df-84b6-075= 930067cfb', 'device': 'bridge', 'type': 'interface'}, {'device': 'memballoon', 'specParams': {'model': 'vi= rtio'}, 'type': 'balloon', 'deviceId': '2f41cde8-4660-4e2a-a364-79535be662c= f'}, {'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', 'smpCoresPerSock= et': '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= =3D`e8aa218a-7d9c-46a8-885d-2ea33c3432c2`::<?xml version=3D"1.0&quo= t; encoding=3D"utf-8"?><domain type=3D"qemu" xmln= s:qemu=3D<a class=3D"moz-txt-link-rfc2396E" href=3D"http://libvirt.org/sche= mas/domain/qemu/1.0">"http://libvirt.org/schemas/domain/qemu/1.0"= </a>><br> <name>test</name><br> <uuid>e8aa218a-7d9c-46a8-885d-2ea33c3432c2</uui= d><br> <memory>262144</memory><br> <currentMemory>262144</currentMemory><br> <vcpu current=3D"1">1</vcpu><br> <memtune><br> <min_guarantee>1048576</min_= guarantee><br> </memtune><br> <devices><br> <channel type=3D"unix"&g= t;<br> <target name=3D= "com.redhat.rhevm.vdsm" type=3D"virtio"/><br> <source mode=3D= "bind" path=3D"/var/lib/libvirt/qemu/channels/e8aa218a-7d9c-= 46a8-885d-2ea33c3432c2.com.redhat.rhevm.vdsm"/><br> </channel><br> <channel type=3D"unix"&g= t;<br> <target name=3D= "org.qemu.guest_agent.0" type=3D"virtio"/><br> <source mode=3D= "bind" path=3D"/var/lib/libvirt/qemu/channels/e8aa218a-7d9c-= 46a8-885d-2ea33c3432c2.org.qemu.guest_agent.0"/><br> </channel><br> <input bus=3D"usb" type= =3D"tablet"/><br> <graphics autoport=3D"yes&quo= t; keymap=3D"en-us" listen=3D"0" passwd=3D"*****&q= uot; port=3D"-1" type=3D"vnc"/><br> <emulator>/usr/bin/qemu-system-= ppc64</emulator><br> <memballoon model=3D"virtio&q= uot;/><br> <controller index=3D"0" = type=3D"scsi"><br> <address type= =3D"spapr-vio"/><br> </controller><br> <controller index=3D"1" = model=3D"virtio-scsi" type=3D"scsi"/><br> <video><br> <model heads=3D= "1" type=3D"vga" vram=3D"32768"/><br> </video><br> <interface type=3D"bridge&quo= t;><br> <mac address=3D= "00:1a:4a:fd:38:d2"/><br> <model type=3D&= quot;virtio"/><br> <source bridge= =3D"ovirtmgmt"/><br> <filterref filt= er=3D"vdsm-no-mac-spoofing"/><br> <link state=3D&= quot;up"/><br> </interface><br> <disk device=3D"cdrom" s= napshot=3D"no" type=3D"file"><br> <address bus=3D= "0" controller=3D"0" target=3D"0" type=3D&quo= t;drive" unit=3D"0"/><br> <source file=3D= "" startupPolicy=3D"optional"/><br> <target bus=3D&= quot;scsi" dev=3D"sda"/><br> <readonly/><= br> <serial/><br=
</disk><br> <disk device=3D"disk" sn= apshot=3D"no" type=3D"file"><br> <source file=3D= "/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-44e= 2-90e5-6956a457d8a0/06abed34-5464-46d4-9527-3c4e38132587"/><br> <target bus=3D&= quot;virtio" dev=3D"vda"/><br> <serial>61b8= 616f-ce98-44e2-90e5-6956a457d8a0</serial><br> <boot order=3D&= quot;1"/><br> <driver cache= =3D"none" error_policy=3D"stop" io=3D"threads"= ; name=3D"qemu" type=3D"raw"/><br> </disk><br> </devices><br> <os><br> <type arch=3D"ppc64" mac= hine=3D"pseries">hvm</type><br> </os><br> <clock adjustment=3D"0" offset=3D"vari= able"><br> <timer name=3D"rtc" tick= policy=3D"catchup"/><br> </clock><br> <br> <qemu:commandline><br> <qemu:arg value=3D"-usbdevice= "/><br> <qemu:arg value=3D"keyboard&q= uot;/><br> </qemu:commandline><br> </domain><br> <br> <br> <pre class=3D"moz-signature" cols=3D"72">-- =0A= Regards,=0A= =0A= Vinzenz Feenstra | Senior Software Engineer=0A= RedHat Engineering Virtualization R & D=0A= Phone: +420 532 294 625=0A= IRC: vfeenstr or evilissimo=0A= =0A= Better technology. Faster innovation. Powered by community collaboration.= =0A= See how it works at redhat.com</pre> </div> </div> </div> </body> </html> --_000_8faf4ba5220c41668692502f362994abserv030corpeldoradoorgb_--

On Tue, Feb 11, 2014 at 04:16:27PM +0000, Vitor de Lima wrote:
Hi Vinzenz,
This bug is fixed in more recent QEMU versions (1.6.x, for example). I have opened a bug for this issue:
Thanks! Would you consider solving it, by adding a ppc-specific requirement of qemu >= 1.6? What do you do in el6, where such a version is not provided by the platform?
participants (3)
-
Dan Kenigsberg
-
Vinzenz Feenstra
-
Vitor de Lima