Skip to contentSkip to conversation

Using QXL & Spice with Windows Host & QEMU

DISCUSSION [email protected] 2 participants 3 messages Jun 9, 2020

lore
Share & tools
lore
#0 lore raw

Hello everyone,

when using Qemu 4.2.0 with a Windows host, qemu-system-x86_64 reports:
"QXL VGA not available"

I used the following Qemu args for testing:
qemu-system-x86-x64.exe -accel hax -machine q35 -m 4GB -cdrom xubuntu-20.04-desktop-amd64.iso

Using either "-vga stdt" or "-vga vmware" works. The performance is just not that good.

Do I have a chance to get spice & QXL up and running with a Windows 10 host and Qemu?

Thanks!
Laurens

#1 lore raw

Hi

Quoted 9 lines · On Tue, Jun 9, 2020 at 3:30 PM <[email protected]> wrote:

Hello everyone,

when using Qemu 4.2.0 with a Windows host, qemu-system-x86_64 reports:
"QXL VGA not available"

I used the following Qemu args for testing:
qemu-system-x86-x64.exe -accel hax -machine q35 -m 4GB -cdrom xubuntu-20.04-desktop-amd64.iso

Quoted 7 lines

Using either "-vga stdt" or "-vga vmware" works. The performance is just not that good.

Do I have a chance to get spice & QXL up and running with a Windows 10 host and
Qemu?

Frediano gave you an answer on spice-devel (
https://lists.freedesktop.org/archives/spice-devel/2020-June/051699.html).

You probably need a recent release of qemu too, and make sure to enable spice & qxl. How did you build qemu?

Beware that Spice on Windows hasn't probably been tested much so far, you are on the forefront!

Signature · 1 line
Marc-André Lureau
#2 lore raw

Hi Marc-André,

I did take notice of Fredianos answer. Since he redirected me to you guys, I wanted to make sure my intention to get kvm running on Windows could be possible in general. I did download the binaries from [0] which is linked to from qemu.org.

I did enable:
-vga qxl -device virtio-serial-pci -spice port=5930,disable-ticketing -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent
... on the Windows host in the Qemu, but then I get the mentioned error of KVM not being available. It just seems like kvm-support has not been compiled into my binaries. Do you have any build guide for Windows? I'd like to test a little further. Maybe we could get some useful information as well that I could file some bug reports if I find any bugs.

Usually I do use Linux (especially Linux Hosts) only. Since I'm foreced to use a Windows Mashine for some of my work I'd love to get Qemu up and running there (insteadt of VirtualBox, Hyper-V etc.).

Cheers,
Laurens

[0]
https://qemu.weilnetz.de/w64/