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.