Markand Tux's lil' helper
Joined: 11 Jun 2008 Posts: 76
|
Posted: Thu Dec 07, 2017 10:08 am Post subject: No 2k resolution in qemu + spice + qxl VM |
|
|
Hello,
I'm running CentOS 7 in a qemu virtual machine, my laptop has high resolution support (its resolution is 2560x1440). But the VM guest stays at max to 1915x1034 so fonts within the VM look not polished and smooth. And obviously everything is very big so I lose a lot of screen space.
I run my VM with the following script:
Code: |
#!/bin/sh
socket="/tmp/CentOS-7-dev1.sock"
file="${HOME}/vms/CentOS-7-dev1.img"
if ! fuser "${socket}" > /dev/null 2>&1; then
qemu-system-x86_64 \
-enable-kvm \
-smp 4 \
-m 8G \
-hda ${file} \
-device virtio-serial \
-vga qxl -global qxl-vga.vram_size=134217728 \
-spice unix,addr=${socket},disable-ticketing \
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
-daemonize \
"$@"
fi
spicy --uri="spice+unix://${socket}"
|
Do you know if I miss something? |
|