Hide Forgot
Description of problem: Boot win8 with "-vga cirrus -vnc :3" in qemu-kvm command line, then can not support s4 in guest. But use this order "-vnc :3 -vga cirrus" to boot guest, then s4 is successful. Version-Release number of selected component (if applicable): host kernel: 3.10.0-22.el7.x86_64 qemu-kvm: qemu-kvm-rhev-1.5.3-3.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Boot win8 guest with the following command line: /usr/libexec/qemu-kvm -M pc -cpu SandyBridge -enable-kvm -m 4G -smp 4,sockets=1,cores=4,threads=1 -name test -rtc base=localtime,clock=host,driftfix=slew -k en-us -boot menu=on -vga cirrus -vnc :3 -usb -device usb-tablet -global PIIX4_PM.disable_s3=0 -global PIIX3_PM.disable_s4=0 -monitor stdio -drive file=/home/win8-32.raw,if=none,id=drive-system-disk,media=disk,format=raw,aio=native,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-system-disk,id=system-disk,addr=0x9 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=00:22:15:27:54:8d,bus=pci.0,addr=0x8 2. In win8 guest: powercfg -a 3. Actual results: With "-vga cirrus -vnc :3" order, can not support s4 Expected results: It should be support s4 Additional info: With "-vnc :3 -vga cirrus" order: It can support s4.
The only way to support Win8/2012 S3/S4 is with Vadim's new QXL drivers. The Cirrus drivers do not support it properly. Please consult with Mike Cao
(In reply to Ronen Hod from comment #2) > The only way to support Win8/2012 S3/S4 is with Vadim's new QXL drivers. The > Cirrus drivers do not support it properly. > Please consult with Mike Cao Ronen ,I think we always support s4 with VNC +QXL ,at least in RHEL6.x zhonglinzhang ,Can you retest it with the latest qemu w/ -global PIIX4_PM.disable_s4=0 ?
Retest this with 3.10.0-64.el7.x86_64 kernel and qemu-kvm-1.5.3-30.el7.x86_64 win2012R2 guest With "-vga cirrus -vnc :3" or "-vnc :3 -vga cirrus" can do s4 successfully. -global PIIX4_PM.disable_s4=0... Maybe I made a mistake, always with PIIX3_PM.disable_s4=0
Closing as notabug according to comment #4