Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No 2k resolution in qemu + spice + qxl VM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Markand
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2008
Posts: 76

PostPosted: Thu Dec 07, 2017 10:08 am    Post subject: No 2k resolution in qemu + spice + qxl VM Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum