Add spice display (disable the basic graphics in windows!) for USB redirection to work

merge-requests/2/head
Cole Deck 4 years ago
parent 8fc942bb08
commit 7f09610aa6

@ -119,9 +119,6 @@ or other application using the libvirt API.
<readonly/> <readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/>
</disk> </disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='sata' index='0'> <controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller> </controller>
@ -187,6 +184,21 @@ or other application using the libvirt API.
<driver queues='12' iothread='1'/> <driver queues='12' iothread='1'/>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</controller> </controller>
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
</controller>
<interface type='network'> <interface type='network'>
<mac address='52:54:00:fc:3f:b7'/> <mac address='52:54:00:fc:3f:b7'/>
<source network='default'/> <source network='default'/>
@ -211,6 +223,15 @@ or other application using the libvirt API.
</input> </input>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/> <input type='keyboard' bus='ps2'/>
<graphics type='spice' autoport='yes'>
<listen type='address'/>
<image compression='off'/>
<gl enable='no' rendernode='/dev/dri/by-path/pci-0000:04:00.0-render'/>
</graphics>
<video>
<model type='cirrus' vram='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</video>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<source> <source>
<address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
@ -235,6 +256,13 @@ or other application using the libvirt API.
</source> </source>
<address type='pci' domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x8087'/>
<product id='0x0029'/>
</source>
<address type='usb' bus='0' port='4'/>
</hostdev>
<redirdev bus='usb' type='spicevmc'> <redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='2'/> <address type='usb' bus='0' port='2'/>
</redirdev> </redirdev>

Loading…
Cancel
Save