[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1174654] Re: qemu-system-x86_64 takes 100% CPU after h
From: |
tobias |
Subject: |
[Qemu-devel] [Bug 1174654] Re: qemu-system-x86_64 takes 100% CPU after host machine resumed from suspend to ram |
Date: |
Wed, 30 Oct 2013 21:54:47 -0000 |
Did some testing: if one pauses the vms that run windows before suspending
ubuntu no high cpu usage is there once the host and windows vms are resumed.
for me it's workable then in ubuntu by using a suspend / resume script with
power manaager. I put this in /etc/pm/sleep.d (and make it executable) :
#!/bin/bash
PS_VM=/var/run/paused_vms
is_there_virsh () {
if [[ -z `which virsh` ]]
then echo "no actions for suspend or resume required"
exit 0
fi
}
case "$1" in
suspend)
is_there_virsh
echo "" > /var/run/paused_vms
for i in $(virsh list --state-running | grep running | awk {'print $2'})
do echo $i >> /var/run/paused_vms
virsh suspend $i
done
;;
resume)
is_there_virsh
for i in $(cat $PS_VM)
do virsh resume $i
done
# optionally remove the file but this seems not required?
rm $PS_VM
;;
*)
;;
esac
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1174654
Title:
qemu-system-x86_64 takes 100% CPU after host machine resumed from
suspend to ram
Status in QEMU:
Confirmed
Status in “qemu” package in Ubuntu:
Invalid
Bug description:
I have Windows XP SP3 inside qemu VM. All works fine in 12.10. But
after upgraiding to 13.04 i have to restart the VM each time i
resuming my host machine, because qemu process starts to take CPU
cycles and OS inside VM is very slow and sluggish. However it's still
controllable and could be shutdown by itself.
According to the taskmgr any active process takes 99% CPU. It's not
stuck on some single process.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1174654/+subscriptions