From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX4TF-0005WL-3r for qemu-devel@nongnu.org; Fri, 18 Oct 2013 03:27:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VX4T6-0006vo-4W for qemu-devel@nongnu.org; Fri, 18 Oct 2013 03:27:41 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:50138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX4T5-0006vG-9x for qemu-devel@nongnu.org; Fri, 18 Oct 2013 03:27:32 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 18 Oct 2013 17:27:02 +1000 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [9.190.234.120]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id E3F193578050 for ; Fri, 18 Oct 2013 18:26:59 +1100 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r9I79q4e5571046 for ; Fri, 18 Oct 2013 18:09:52 +1100 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r9I7QxVq014207 for ; Fri, 18 Oct 2013 18:26:59 +1100 Message-ID: <5260E2C1.8020605@linux.vnet.ibm.com> Date: Fri, 18 Oct 2013 15:26:57 +0800 From: mike MIME-Version: 1.0 References: <20130430080722.32341.54160.malonedeb@gac.canonical.com> <5260DF4F.6010405@appelo.org> In-Reply-To: <5260DF4F.6010405@appelo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 1174654] Re: qemu-system-x86_64 takes 100% CPU after host machine resumed from suspend to ram List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1174654 <1174654@bugs.launchpad.net> Cc: tobias , qemu-devel@nongnu.org On 10/18/2013 03:12 PM, tobias wrote: > Hello Mike, > > Thanks a lot for getting back on this. > Is the "cpu idle driver" a command line option I need to specify for > qemu (the -cpu option ?) > I could not find a reference to "idle" in the man page. You need to check the guest kernel config file. Thanks Mike > regards, > > Tobias. > > On 18-10-13 04:33, mike wrote: >> On 10/18/2013 04:29 AM, tobias wrote: >>> hi, >>> >>> tried your option but it does not help. (cpu usage is still high) >>> below my command line syntax: >>> qemu-system-x86_64 -global mc146818rtc.lost_tick_policy=slew -machine >>> accel=kvm:tcg -name win7 -S -machine pc-i440fx-1.4,accel=kvm,usb=off >>> -m 2048 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid >>> 813f5806-64ec-3319-452a-5e1834e753c9 -no-user-config -nodefaults >>> -chardev >>> socket,id=charmonitor,path=/var/lib/libvirt/qemu/win7.monitor,server,nowait >>> -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime >>> -no-shutdown -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 >>> -device >>> ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 >>> -device >>> ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 >>> -device >>> ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 >>> -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x8 -drive >>> file=/data/vmware/win7.img,if=none,id=drive-virtio-disk0,format=qcow2 >>> -device >>> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 >>> -device usb-tablet,id=input0 -device >>> intel-hda,id=sound0,bus=pci.0,addr=0x4 -device >>> hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device >>> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -vga std >> Hi, have you enable the kernel CPU idle driver? especially the guest >> kernel. >> >> Thanks >> Mike >>