bugalo n00b
Joined: 05 Jul 2015 Posts: 38
|
Posted: Tue Jun 18, 2024 9:56 pm Post subject: qemu error: 'virtio-vga-gl' is not a valid device model name |
|
|
Hi,
I am trying to create and launch a Windows 10 virtual machine with QEMU. To simplify the process, I am using quickemu to create the configuration for me:
https://github.com/quickemu-project/quickemu
This is the command that it created:
Code: | #!/usr/bin/env bash
/usr/bin/qemu-system-x86_64 \
-name windows-10,process=windows-10 \
-pidfile windows-10/windows-10.pid \
-enable-kvm \
-machine q35,smm=on,vmport=off \
-machine hpet=off \
-global kvm-pit.lost_tick_policy=discard \
-global ICH9-LPC.disable_s3=1 \
-cpu host,kvm=on,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_passthrough \
-smp cores=4,threads=2,sockets=1 \
-m 8G \
-device virtio-balloon \
-vga none \
-device virtio-vga-gl \
-display sdl,gl=on \
-audiodev pa,id=audio0 \
-device intel-hda \
-device hda-duplex,audiodev=audio0 \
-rtc base=localtime,clock=host,driftfix=slew \
-device virtio-rng-pci,rng=rng0 \
-object rng-random,id=rng0,filename=/dev/urandom \
-device qemu-xhci,id=spicepass \
-chardev spicevmc,id=usbredirchardev1,name=usbredir \
-device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 \
-chardev spicevmc,id=usbredirchardev2,name=usbredir \
-device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 \
-chardev spicevmc,id=usbredirchardev3,name=usbredir \
-device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 \
-device pci-ohci,id=smartpass \
-device usb-ccid \
-chardev spicevmc,id=ccid,name=smartcard \
-device ccid-card-passthru,chardev=ccid \
-device usb-ehci,id=input \
-device usb-kbd,bus=input.0 \
-k en-us \
-device usb-tablet,bus=input.0 \
-device virtio-net,netdev=nic \
-netdev user,hostname=windows-10,hostfwd=tcp::22220-:22,smb=/home/manu/Public,id=nic \
-global driver=cfi.pflash01,property=secure,value=on \
-drive if=pflash,format=raw,unit=0,file=/usr/share/qemu/edk2-x86_64-code.fd,readonly=on \
-drive if=pflash,format=raw,unit=1,file=windows-10/OVMF_VARS.fd \
-drive media=cdrom,index=2,file=windows-10/unattended.iso \
-drive media=cdrom,index=0,file=windows-10/Win10_22H2_EnglishInternational_x64v1.iso \
-drive media=cdrom,index=1,file=windows-10/virtio-win.iso \
-device virtio-blk-pci,drive=SystemDisk \
-drive id=SystemDisk,if=none,format=qcow2,file=windows-10/disk.qcow2 \
-monitor unix:windows-10/windows-10-monitor.socket,server,nowait \
-serial unix:windows-10/windows-10-serial.socket,server,nowait
|
And it fails with the error:
Code: | qemu-system-x86_64: -device virtio-vga-gl: 'virtio-vga-gl' is not a valid device model name |
Do you have any suggestion of what I could be doing wrong? I cannot find any information on the error, or if I need to install some missing components, or modify my kernel configuration.
I am currently using app-emulation/qemu-9.0.0
Thanks for your help. |
|