User Tools

Site Tools


virt:kvmquirks

Multiple Socket Issues


Problem: Only two sockets show up in Windows.

Fix: go to manual topology in the CPU section of Virt-Manager and have at most 2 sockets and use multiple cores to get more CPUs in Windows.

Why: Windows only supports two CPU sockets, so any more than two sockets are ignored by Windows

No Sound in Spice in 13.10


Problem: No sound from guest

Fix: Go to application volume and set it to the max level

Why: For some reason pluseaudio sets audio levels for spice client to very low level.

Power Management issues

If you have a computer that goes to sleep running KVM some guest OSs can go crazy on resume. Use this script to suspend kvm when your computer goes to sleep or hibernates

/etc/pm/sleep.d/suspendvm.sh
#!/bin/sh
##
## suspend-example.sh
##
 
VMNAME="windows7"
 
case $1 in
   suspend)
     ## COMMANDS THAT YOU WISH TO RUN BEFORE SUSPEND
     virsh suspend ${VMNAME}
     ;;
   resume)
     ## COMMANDS THAT YOU WISH TO RUN AFTER RESUME     
     virsh resume ${VMNAME}
     ;;
   hibernate)
     ## COMMANDS THAT YOU WISH TO RUN BEFORE HIBERNATE
     virsh suspend ${VMNAME}
   ;;
   thaw)
     ## COMMANDS THAT YOU WISH TO RUN AFTER RESUME FROM SUSPEND TO DISK
     virsh resume ${VMNAME}
   ;;
esac
virt/kvmquirks.txt · Last modified: 2014/01/08 12:47 by tschulz