summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/1431
blob: f1d70adb4c4082906c0749ff6fdf49146c823806 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
qemu spice support opengl
Steps to reproduce:
I wan to use spice support opengl, but my qemu seems not support,what can i do to support opengl for spice?

qemu configure:
```
./configure --target-list=x86_64-softmmu --enable-kvm --enable-debug --enable-spice --enable-numa --enable-libusb --enable-curl --enable-usb-redir --enable-libiscsi  --enable-virglrenderer --enable-opengl  --enable-gtk --prefix="/usr"
```

xml:
```xml
<domain type='kvm'>
    <name>test</name>
    <memory>1048576</memory>
    <currentMemory>1048576</currentMemory>
    <vcpu>1</vcpu>
    <os>
      <type arch='x86_64' machine='pc'>hvm</type>
    </os>
   <cpu mode='custom' match='exact' check='full'>
    <topology sockets='1' dies='1' cores='1' threads='1'/>
  </cpu>
   <features>
     <acpi/>
     <apic/>
     <pae/>
   </features>
   <clock offset='localtime'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-x86_64</emulator>
     <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
       <source file='/root/kk.img'/>
       <target dev='hda' bus='ide'/>
     </disk>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice'>
      <listen type='none'/>
      <gl enable='yes' rendernode='/dev/dri/renderD128'/>
    </graphics>
   </devices>
</domain>
```

error report:

![image](/uploads/74ecd52966d71bbbd2921f4c292002a9/image.png)