Announcement

Collapse
No announcement yet.

libvirt-manager and Windows 11 guest machine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] libvirt-manager and Windows 11 guest machine

    I've been running a Windows 10 guest for quite a while; it's working fine. Regrettably, I need to have a Windows 11 guest. I have created the guest, and it functions. My monitor setup is 2 screens in portrait mode, with the guest machine on one and 24.04 on the other (also behind the guest machine). With the W10 guest, no problem; the guest fills the screen under the 24.04 taskbar, which I keep at the top. With the W11 guest, the guest takes up only the middle third (vertically) of the screen. I can change the resolution, but that just changes the size of the display within the guest screen rather than making the guest screen fill the vertical window.

    Particulars: Spice-vdagent (newest version) is running on 24.04
    Spicetools is installed on the W11 guest.

    In the libvirt-manager details section, I have the following:

    Display Spice
    Spice Server
    Type: Spice server
    Listen type: address
    Address: Localhost only
    Port [checkmark] Auto (Port 5900)

    XML
    <graphics type="spice" port="5900" autoport="yes" listen="127.0.0.1">
    <listen type="address" address="127.0.0.1"/>
    <image compression="off"/>
    </graphics>

    Channel (spice)
    Device type: spicevmc
    Target type: virtio
    Target name: com.redhat.spice.0
    XML

    <channel type="spicevmc">
    <target type="virtio" name="com.redhat.spice.0" state="disconnected"/>
    <alias name="channel0"/>
    <address type="virtio-serial" controller="0" bus="0" port="1"/>
    </channel>

    Video QXL
    Video
    Model: QXL
    XML
    <video>
    <model type="qxl" ram="131072" vram="65536" vgamem="65536" heads="1" primary="yes"/>
    <alias name="video0"/>
    <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
    </video>

    This may not be enough information, the right information, or even relevant. Please let me know. Thanks, all.

    #2
    Probably use virtio drivers instead of qxl?
    That is what mine has -- though this is an upgrade from W10 to 11.

    I currently have 3d off, as I don't need it, plus an iGPU from 2017 on a thin client mini PC

    Note the Listen Type setting, though this may only be needed for enabling 3d

    Click image for larger version

Name:	Screenshot_20250903_211352.png
Views:	0
Size:	13.1 KB
ID:	688293Click image for larger version

Name:	Screenshot_20250903_211414.png
Views:	0
Size:	7.4 KB
ID:	688294

    You will need drivers, I don't think Windows' Device Manager automatically finds and installs these for virtio, but I may be wrong
    https://github.com/virtio-win/kvm-gu...r-installation

    Comment


      #3
      That's what I was missing. All is well. Thank you.

      Comment

      Users Viewing This Topic

      Collapse

      There are 0 users viewing this topic.

      Working...
      X