Re: KVM Fails 3D Acceleration on Debian (failed to validate against schema)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixed: 

https://github.com/Kicksecure/libvirt-dist/blob/master/usr/share/libvirt-dist/xml/Whonix-Gateway.xml

```
<domain type='kvm'>
  <name>Whonix-Gateway</name>
  <description>Do not change any settings if you do not understand the consequences! Learn more: https://www.whonix.org/wiki/KVM#XML_Settings</description>

  <genid/>

  <memory dumpCore='off' unit='GB'>2</memory>
  <currentMemory unit='GB'>2</currentMemory>
  <memoryBacking>
    <allocation mode='ondemand'/>
    <discard/>
    <nosharepages/>
  </memoryBacking>

  <blkiotune>
    <weight>250</weight>
  </blkiotune>

  <vcpu placement='static' cpuset='0'>1</vcpu>
  <cpu mode='host-passthrough'/>

  <os>
    <type machine='q35'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='yes'/>
  </os>

  <features>
    <acpi/>
    <hap/>
    <pvspinlock state='on'/>
    <pmu state='off'/>
    <vmport state='off'/>
  </features>

  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup' track='guest'/>
    <timer name='kvmclock' present='yes'/>
    <timer name='pit' present='no'/>
    <timer name='hpet' present='no'/>
    <timer name='hypervclock' present='no'/>
  </clock>

  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>

  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>

  <devices>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/var/lib/libvirt/images/Whonix-Gateway.qcow2'/>
      <target dev='vda' bus='virtio'/>
    </disk>

    <interface type='network'>
      <source network='Whonix-External'/>
      <model type='virtio'/>
      <driver name='qemu'/>
    </interface>

    <interface type='network'>
      <source network='Whonix-Internal'/>
      <model type='virtio'/>
      <driver name='qemu'/>
    </interface>

    <controller type='virtio-serial' index='0'/>

    <serial type='pty'>
      <target port='0'/>
    </serial>

    <console type='pty'>
      <target type='serial' port='0'/>
    </console>

    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>

    <!-- Graphics settings -->
    <graphics type='spice' autoport='yes'>
      <listen type='none'/>
      <clipboard copypaste='yes'/>
      <filetransfer enable='no'/>
      <gl enable='no'/>
    </graphics>

    <!-- Video settings -->
    <video>
      <model type='virtio' heads='1' primary='yes'>
        <acceleration accel3d='no'/>
      </model>
    </video>

    <sound model='ich9'>
      <codec type='output'/>
    </sound>

    <memballoon model='none'/>

    <rng model='virtio'>
      <rate bytes='1024' period='1000'/>
      <backend model='random'>/dev/random</backend>
    </rng>
  </devices>
</domain>
```



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux