Use of SPICE with KVM Windows VM

rembout

Cadet
Joined
Jan 24, 2021
Messages
1
Hello,

I run TrueNAS SCALE on an HP DL380 G9 32GB RAM 2*E5-2630L v3 and 4*4To RAIDZ and 1*1To stripe pool for VM and containers.

I've installed Windows 10 in a VM with gui, but the default video driver can't be choosen.

I've tried to use virsh to see the vm config but it can't find /var/run/libvirt/libvirt-sock (which in fact is at /run/truenas-libvirt/libvirt-sock)
After creating a symlink between these two places, I can use virsh and edit my vm config.

I've tried to change the video driver by a SPICE one
Code:
<graphics type='spice' port='3001' autoport='no'>
    <listen type='address'/>
</graphics>
<video>
    <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>
    <alias name='video0'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>

In place of cirrus default video.
Code:
<graphics type='vnc' port='5900' autoport='no' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>

But when I start the VM, my mod is overriden and the VM boot with cirrus and vnc instead of SPICE.


Do you have any clue of how i could define the video mode of my VM ?

Tell me if anything is unclear

Thanks for your help

Rem
 

jrp

Dabbler
Joined
Jan 2, 2023
Messages
39
Replacing novnc by Spice has been a disaster and I've seen no recognition of this by the development team.
 

Trevor68

Contributor
Joined
Oct 15, 2021
Messages
130
have to agree, Spice is just terrible.
 

jrp

Dabbler
Joined
Jan 2, 2023
Messages
39
I have NO idea why the developers are not addressing the concerns of the users
 
Top