internal error: process exited while connecting to monitor: egl support is disabled
Acewind
acewind at gmail.com
Mon Nov 12 01:32:30 UTC 2018
I have tried change emulator in libvirt xml:
<emulator>/usr/bin/qemu-system-x86_64</emulator>
But still got error:
root at localhost:/home/# virsh create ./win10.xml
error: Failed to create domain from ./win10.xml
error: internal error: process exited while connecting to monitor: egl
support is disabled
root at localhost:/home/# /usr/bin/qemu-system-x86_64 --version
QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.7)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
root at localhost:/home/# uname -a
Linux desktopclient 4.17.0+ #1 SMP Mon Oct 8 18:09:47 CST 2018 x86_64
x86_64 x86_64 GNU/Linux
libvirt xml is:
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10</name>
<uuid>03a99767-f68b-488f-bae0-a0ab5d806ec7</uuid>
<memory unit='KiB'>3145728</memory>
<currentMemory unit='KiB'>3145728</currentMemory>
<vcpu placement='static'>4</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-i440fx-bionic'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<hyperv>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
</hyperv>
</features>
<cpu mode='custom' match='exact' check='full'>
<model fallback='forbid'>Broadwell-noTSX</model>
<feature policy='require' name='vme'/>
<feature policy='require' name='f16c'/>
<feature policy='require' name='rdrand'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='abm'/>
</cpu>
<clock offset='localtime'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
<timer name='hypervclock' present='yes'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/home/desktopclient/zwj/win10.qcow2'/>
<backingStore/>
<target dev='hda' bus='ide'/>
<alias name='ide0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<alias name='usb'/>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<alias name='usb'/>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<alias name='usb'/>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<controller type='ide' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
</controller>
<interface type='bridge'>
<mac address='52:54:00:6f:4b:64'/>
<source bridge='br0'/>
<target dev='vnet0'/>
<model type='rtl8139'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/1'/>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/1'>
<source path='/dev/pts/1'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<input type='tablet' bus='usb'>
<alias name='input0'/>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'>
<alias name='input1'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input2'/>
</input>
<video>
<model type='cirrus' vram='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
</video>
<graphics type='spice' port='5901' autoport='yes' listen='0.0.0.0'
keymap='en-us'>
<listen type='address' address='0.0.0.0'/>
<image compression='auto_glz'/>
<jpeg compression='always'/>
<playback compression='on'/>
<streaming mode='filter'/>
</graphics>
<hostdev mode='subsystem' type='mdev' managed='no' model='vfio-pci'>
<source>
<address type='mdev'
uuid='fc116b66-e40b-11e8-9884-a7bbc264192f'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
</hostdev>
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
</memballoon>
</devices>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>+64055:+127</label>
<imagelabel>+64055:+127</imagelabel>
</seclabel>
<qemu:commandline>
<qemu:arg value='-set'/>
<qemu:arg value='device.video0.driver=ne2k_pci'/>
<qemu:arg value='-set'/>
<qemu:arg value='device.hostdev0.x-igd-opregion=on'/>
<qemu:arg value='-set'/>
<qemu:arg value='device.hostdev0.display=on'/>
<qemu:arg value='-display'/>
<qemu:arg value='egl-headless'/>
</qemu:commandline>
</domain>
Xu, Terrence <terrence.xu at intel.com> 于2018年11月10日周六 下午10:35写道:
> Hi Acewind,
>
>
>
> I am Terrence who just got in touch with you by WeChat, I am glad to see
> you are using our ISO and found some issues for us, we will make
> improvements according to all the problems you met. J
>
>
>
> For this issue, I have double confirmed that the 2.12 qemu in our ISO
> works well on “dma-buf” feature, the qemu located at
> “/usr/bin/qemu-system-x86_64”.
>
>
>
> I saw you didn’t use our qemu as the emulator but use
> “kvm-spice” ```<emulator>/usr/bin/kvm-spice</emulator>```
>
>
>
> Can you switch to our qemu and try again?
>
>
>
> Thanks
>
> Terrence
>
>
>
>
>
> *From:* intel-gvt-dev [mailto:intel-gvt-dev-bounces at lists.freedesktop.org]
> *On Behalf Of *Acewind
> *Sent:* Saturday, November 10, 2018 9:47 AM
> *To:* intel-gvt-dev at lists.freedesktop.org
> *Subject:* internal error: process exited while connecting to monitor:
> egl support is disabled
>
>
>
> I install GVT-g-2018q3.iso on i3-7100U host, with IOMMU enabled.
>
> After apt install virt-manager, I create an win10 instance with vgpu to
> spice.
>
> Accoring to doc:
> https://github.com/intel/gvt-linux/wiki/Dma_Buf_User_Guide.
>
> Then it shows an error:
>
>
>
> root at home:/home# virsh create win10.xml
>
> error: Failed to create domain from win10.xml
>
> error: internal error: process exited while connecting to monitor: egl
> support is disabled
>
>
>
> The libvirt xml file:
>
>
>
> root at desktopclient:/home/desktopclient/zwj# cat ./win10.xml
>
> <domain type='kvm' id='3'>
>
> <name>win10</name>
>
> <uuid>03a99767-f68b-488f-bae0-a0ab5d806ec7</uuid>
>
> <memory unit='KiB'>3145728</memory>
>
> <currentMemory unit='KiB'>3145728</currentMemory>
>
> <vcpu placement='static'>4</vcpu>
>
> <resource>
>
> <partition>/machine</partition>
>
> </resource>
>
> <os>
>
> <type arch='x86_64' machine='pc-i440fx-bionic'>hvm</type>
>
> <boot dev='hd'/>
>
> </os>
>
> <features>
>
> <acpi/>
>
> <apic/>
>
> <hyperv>
>
> <relaxed state='on'/>
>
> <vapic state='on'/>
>
> <spinlocks state='on' retries='8191'/>
>
> </hyperv>
>
> </features>
>
> <cpu mode='custom' match='exact' check='full'>
>
> <model fallback='forbid'>Broadwell-noTSX</model>
>
> <feature policy='require' name='vme'/>
>
> <feature policy='require' name='f16c'/>
>
> <feature policy='require' name='rdrand'/>
>
> <feature policy='require' name='hypervisor'/>
>
> <feature policy='require' name='arat'/>
>
> <feature policy='require' name='xsaveopt'/>
>
> <feature policy='require' name='abm'/>
>
> </cpu>
>
> <clock offset='localtime'>
>
> <timer name='rtc' tickpolicy='catchup'/>
>
> <timer name='pit' tickpolicy='delay'/>
>
> <timer name='hpet' present='no'/>
>
> <timer name='hypervclock' present='yes'/>
>
> </clock>
>
> <on_poweroff>destroy</on_poweroff>
>
> <on_reboot>restart</on_reboot>
>
> <on_crash>destroy</on_crash>
>
> <pm>
>
> <suspend-to-mem enabled='no'/>
>
> <suspend-to-disk enabled='no'/>
>
> </pm>
>
> <devices>
>
> <emulator>/usr/bin/kvm-spice</emulator>
>
> <disk type='file' device='disk'>
>
> <driver name='qemu' type='qcow2'/>
>
> <source file='/home/desktopclient/zwj/win10.qcow2'/>
>
> <backingStore/>
>
> <target dev='hda' bus='ide'/>
>
> <alias name='ide0-0-0'/>
>
> <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>
> </disk>
>
> <controller type='usb' index='0' model='ich9-ehci1'>
>
> <alias name='usb'/>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x7'/>
>
> </controller>
>
> <controller type='usb' index='0' model='ich9-uhci1'>
>
> <alias name='usb'/>
>
> <master startport='0'/>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0' multifunction='on'/>
>
> </controller>
>
> <controller type='usb' index='0' model='ich9-uhci2'>
>
> <alias name='usb'/>
>
> <master startport='2'/>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x1'/>
>
> </controller>
>
> <controller type='usb' index='0' model='ich9-uhci3'>
>
> <alias name='usb'/>
>
> <master startport='4'/>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x2'/>
>
> </controller>
>
> <controller type='pci' index='0' model='pci-root'>
>
> <alias name='pci.0'/>
>
> </controller>
>
> <controller type='ide' index='0'>
>
> <alias name='ide'/>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
> function='0x1'/>
>
> </controller>
>
> <interface type='bridge'>
>
> <mac address='52:54:00:6f:4b:64'/>
>
> <source bridge='br0'/>
>
> <target dev='vnet0'/>
>
> <model type='rtl8139'/>
>
> <alias name='net0'/>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
>
> </interface>
>
> <serial type='pty'>
>
> <source path='/dev/pts/1'/>
>
> <target type='isa-serial' port='0'>
>
> <model name='isa-serial'/>
>
> </target>
>
> <alias name='serial0'/>
>
> </serial>
>
> <console type='pty' tty='/dev/pts/1'>
>
> <source path='/dev/pts/1'/>
>
> <target type='serial' port='0'/>
>
> <alias name='serial0'/>
>
> </console>
>
> <input type='tablet' bus='usb'>
>
> <alias name='input0'/>
>
> <address type='usb' bus='0' port='1'/>
>
> </input>
>
> <input type='mouse' bus='ps2'>
>
> <alias name='input1'/>
>
> </input>
>
> <input type='keyboard' bus='ps2'>
>
> <alias name='input2'/>
>
> </input>
>
>
>
> <video>
>
> <model type='cirrus' vram='16384' heads='1' primary='yes'/>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
> function='0x0'/>
>
> </video>
>
>
>
> <graphics type='spice' port='5901' autoport='yes' listen='0.0.0.0'
> keymap='en-us'>
>
> <listen type='address' address='0.0.0.0'/>
>
> <image compression='auto_glz'/>
>
> <jpeg compression='always'/>
>
> <playback compression='on'/>
>
> <streaming mode='filter'/>
>
> </graphics>
>
>
>
> <hostdev mode='subsystem' type='mdev' managed='no' model='vfio-pci'>
>
> <source>
>
> <address type='mdev'
> uuid='fc116b66-e40b-11e8-9884-a7bbc264192f'/>
>
> </source>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x06'
> function='0x0'/>
>
> </hostdev>
>
>
>
> <memballoon model='virtio'>
>
> <alias name='balloon0'/>
>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x05'
> function='0x0'/>
>
> </memballoon>
>
> </devices>
>
> <seclabel type='dynamic' model='dac' relabel='yes'>
>
> <label>+64055:+127</label>
>
> <imagelabel>+64055:+127</imagelabel>
>
> </seclabel>
>
>
>
> <qemu:commandline>
>
> <qemu:arg value='-set'/>
>
> <qemu:arg value='device.video0.driver=ne2k_pci'/>
>
> <qemu:arg value='-set'/>
>
> <qemu:arg value='device.hostdev0.x-igd-opregion=on'/>
>
> <qemu:arg value='-set'/>
>
> <qemu:arg value='device.hostdev0.display=on'/>
>
> <qemu:arg value='-display'/>
>
> <qemu:arg value='egl-headless'/>
>
> </qemu:commandline>
>
>
>
> </domain>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20181112/790383a8/attachment-0001.html>
More information about the intel-gvt-dev
mailing list