qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Default screen resolution for virtio-vga?


From: Andrei Borzenkov
Subject: [Qemu-discuss] Default screen resolution for virtio-vga?
Date: Sat, 3 Feb 2018 22:37:41 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

I'm using QEMU v2.11.0 compiled from sources. When trying to enable
virtio-vga with openGL support it works but I get 640x480 resolution. I
can resize window and guest screen size is updated accordingly, but I'd
really like to get proper resolution automatically. Using xres and yres
options apparently does nothing.

VM is started using using command below, guest OS is openSUSE Tumbleweed
(but resolution is wrong in bootloader already).

~/src/qemu/build/x86_64-softmmu/qemu-system-x86_64 -machine q35 -cpu
kvm64 -m 1G -device virtio-scsi-pci -drive
file=$HOME/vm/tw/hd0.qcow2,if=none,id=hd0,discard=on,format=qcow2
-device scsi-hd,drive=hd0 -net user -net nic,model=virtio -enable-kvm
-display gtk,gl=on -vga none -device virtio-vga,xres=1024,yres=768

TIA

P.S. Please Cc me on replies.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]