Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QEMU/KVM Windows Guest problemi di risoluzione e performance
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Realnot
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2007
Posts: 120
Location: Ferrara

PostPosted: Thu Dec 19, 2013 5:55 pm    Post subject: QEMU/KVM Windows Guest problemi di risoluzione e performance Reply with quote

Avevo abbandonato KVM per mancanza di tempo, questa sera pistolando un pochino sono riuscito a farlo funzionare:

windows.sh:
#!/bin/sh
exec qemu-kvm \
        -boot d \
        -cpu host \
        -smp 8 \
        -enable-kvm \
        -drive file=/opt/kvm/win_8.qcow2,if=virtio \
        -drive file=/opt/kvm/virtio-win-0.1-74.iso,media=cdrom \
        -net nic, -net user,hostname=windowsvm \
        -m 4096 \
        -vga std \
        -name Windows_8
        "$@"


Le features

"realnot@venus /opt/kvm $ eix app-emulation/qemu:

[I] app-emulation/qemu                                                                                                                       
     Installed versions:  1.5.3(02:04:09 PM 01/09/2014)(aio alsa bluetooth caps curl filecaps jpeg ncurses opengl png sdl seccomp threads uuid vhost-net vnc -accessibility -debug -fdt -glusterfs -gtk -iscsi -mixemu -pulseaudio -python -rbd -sasl -selinux -smartcard -spice -static -static-softmmu -static-user -systemtap -tci -test -tls -usbredir -vde -virtfs -xattr -xen -xfs KERNEL="linux -FreeBSD" PYTHON_TARGETS="python2_7 -python2_6" QEMU_SOFTMMU_TARGETS="x86_64 -alpha -arm -cris -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -or32 -ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="-alpha -arm -armeb -cris -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 -ppc -ppc64 -ppc64abi32 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -unicore32 -x86_64")                                                             
     Homepage:            http://www.qemu.org http://www.linux-kvm.org                                                                                         
     Description:         QEMU + Kernel-based Virtual Machine userland tools   


Il problema e' che settando -vga std ho la risoluzione al minimo, mentre con -vga cirrus, ho la risoluzione corretta (1280x1024) ma con una profondita' del colore di 16 bit.

Ho un i7-3770 con HD4000, con 16GB di RAM, inoltre l'immagine sta su SSD 840EVO e sembra veramente lenta la macchina. Qualche consiglio?
_________________
I'm not stupid, only mentally free...
Back to top
View user's profile Send private message
kikko
Apprentice
Apprentice


Joined: 29 Apr 2014
Posts: 276
Location: Milan, IT

PostPosted: Fri May 09, 2014 3:31 pm    Post subject: Reply with quote

Oltre a std e cirrus ci sono un altro paio di opzioni che puoi tentare:
Code:
-vga vmware
sembra migliore, ma dovrai installare il driver xf86-video-vmware sul guest
Code:
-vga qxl
l'emulazione 2D risulta superiore, ma ti toccherà ri-emergere qemu con la flag spice abilitata (ed emergere pure il client spice-gtk per collegartici...)

info liberamente tratte dalla wiki di Arch... https://wiki.archlinux.org/index.php/QEMU#Graphics :D

Ciao
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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