[libvirt-users] Cannot Write xvga=yes in xml file

Rogue S.T 15700157322 at 163.com
Thu Dec 21 02:40:57 UTC 2017


Hello,my system info:
    virsh verison
    Compiled against library: libvirt 3.9.0
    Using library: libvirt 3.9.0 
    Using API: QEMU 3.9.0
    Running hypervisor: QEMU 2.10.90
And i want to pass through my gpu to my window 7 guest with <hostdev>, next line is comand i use:
     <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      </source>
      <rom bar='on' file='/root/gpu.dump'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </hostdev>
But i get this error: 
        XML document failed to validate against schema: Unable to validate doc against /ocl/share/libvirt/schemas/domain.rng
        Extra element devices in interleave
        Element domain failed to validate content
If i delete xvga='yes',it's ok, but i get a other question, my display is not light.
        

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20171221/5fdb04c9/attachment.htm>


More information about the libvirt-users mailing list