From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikola Ciprich Subject: Re: windows 2008 "falling asleep" under KVM Date: Thu, 11 Jul 2013 15:31:20 +0200 Message-ID: <20130711133120.GS8440@pcnci.linuxbox.cz> References: <20130711112348.GA28871@pcnci.linuxbox.cz> <20130711124437.GL8575@redhat.com> <20130711130619.GR8440@pcnci.linuxbox.cz> <20130711131952.GM8575@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KSn4sQg3MnruwCB4" Cc: KVM list To: Gleb Natapov Return-path: Received: from gwu.lbox.cz ([62.245.111.132]:53286 "EHLO gwu.lbox.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754306Ab3GKNb0 (ORCPT ); Thu, 11 Jul 2013 09:31:26 -0400 Content-Disposition: inline In-Reply-To: <20130711131952.GM8575@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --KSn4sQg3MnruwCB4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > AFAIK this is default Windows2008 behaviour in case S3 is supported by > the platform. But KVM supports S3 for Windows2008 guests only with QXL > display, so this raises the question: what is qemu command line on > the machine that it happens to and on the host where it does not happen. machine with the problem: /usr/bin/qemu-system-x86_64 -machine accel=3Dkvm -name vmtop09 -S -machine = pc-i440fx-1.4,accel=3Dkvm,usb=3Doff -m 4096 -smp 1,sockets=3D1,cores=3D1,th= reads=3D1 -uuid 1a858074-e30d-11e2-b1d7-002590968776 -no-user-config -nodef= aults -chardev socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/vmtop09= =2Emonitor,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcon= trol -rtc base=3Dutc -no-hpet -no-shutdown -device piix3-usb-uhci,id=3Dusb,= bus=3Dpci.0,addr=3D0x1.0x2 -drive file=3D/dev/vgshared/vmtop09-1,if=3Dnone,= id=3Ddrive-virtio-disk0,format=3Draw,cache=3Dnone -device virtio-blk-pci,sc= si=3Doff,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virtio-disk0,id=3Dvirtio-disk= 0,bootindex=3D1 -drive if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don,format= =3Draw -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0= -1-0 -netdev tap,fd=3D18,id=3Dhostnet0,vhost=3Don,vhostfd=3D25 -device virt= io-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:16:3e:18:09:00,bus=3Dpci.0,= addr=3D0x3 -device usb-tablet,id=3Dinput0 -vnc 0.0.0.0:24109 -vga cirrus -d= evice virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 macine without the problem: (please note that there's currently newer qemu there, but it was OK even wi= th 1.4.0) /usr/bin/qemu-system-x86_64 -machine accel=3Dkvm -name vmwts02 -S -machine = pc-i440fx-1.5,accel=3Dkvm,usb=3Doff -m 4096 -smp 1,sockets=3D1,cores=3D1,th= reads=3D1 -uuid 1e501300-dc48-11df-a690-00304834195b -no-user-config -nodef= aults -chardev socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/vmwts02= =2Emonitor,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcon= trol -rtc base=3Dlocaltime -no-shutdown -device piix3-usb-uhci,id=3Dusb,bus= =3Dpci.0,addr=3D0x1.0x2 -drive file=3D/dev/vgshared/vmwts02-1,if=3Dnone,id= =3Ddrive-virtio-disk0,format=3Draw,cache=3Dnone -device virtio-blk-pci,scsi= =3Doff,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virtio-disk0,id=3Dvirtio-disk0,= bootindex=3D1 -drive if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don,format=3Dr= aw,cache=3Dnone -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,= id=3Dide0-1-0 -netdev tap,fd=3D27,id=3Dhostnet0 -device rtl8139,netdev=3Dho= stnet0,id=3Dnet0,mac=3D00:16:3e:61:01:00,bus=3Dpci.0,addr=3D0x3 -device usb= -tablet,id=3Dinput0 -vnc 0.0.0.0:30802 -vga cirrus -device virtio-balloon-p= ci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 > That does look like S3 suspend. Can you run "info status" command on > qemu monitor when it happens? I'll check, however I don't have it in this state atm, so I'll report in fe= w hours.. BR nik >=20 >=20 > -- > Gleb. >=20 --=20 ------------------------------------- Ing. Nikola CIPRICH LinuxBox.cz, s.r.o. 28.rijna 168, 709 00 Ostrava tel.: +420 591 166 214 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@linuxbox.cz ------------------------------------- --KSn4sQg3MnruwCB4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAlHes6gACgkQ3xdJJrLygV4ykgCgyjknANazxJAt++2v0BL7ZxpT wKIAoOo9epaxrg7cdmHVjAcNFr95Ifpd =keBn -----END PGP SIGNATURE----- --KSn4sQg3MnruwCB4--