Bug 920567

Summary: Win8 32/64 and win2012 s3 state block by graphics
Product: Red Hat Enterprise Linux 7 Reporter: langfang <flang>
Component: qemu-kvmAssignee: Vadim Rozenfeld <vrozenfe>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, bsarathy, dblechte, flang, hhuang, huding, juzhang, lmiksik, mazhang, mkenneth, mkrcmari, mrezanin, qzhang, rhod, virt-maint, xwei
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 895362 Environment:
Last Closed: 2014-06-13 12:23:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 895362    
Bug Blocks: 923626    

Description langfang 2013-03-12 11:21:41 UTC
Clone this bug for track the issue on rhel7.

HOst:
[root@amd-9600b-8-2 ~]# uname -r
3.8.0-0.40.el7.x86_64
[root@amd-9600b-8-2 ~]# rpm -q qemu-kvm
qemu-kvm-1.4.0-1.el7.x86_64

Guest:win2012


CLI:/usr/libexec/qemu-kvm -M q35 -enable-kvm -m 2G -smp 2 -uuid `uuidgen` -no-user-config -nodefaults -rtc base=utc -drive file=/home/win2012-64.qcow2,serial=QEMU-DISK1,if=none,id=drive-system-disk,format=qcow2,cache=none,serial=QEMU-DISK1 -device ide-drive,drive=drive-system-disk,id=system-disk,ver=langfang -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:60:3f:29,addr=0x4 -monitor stdio -boot menu=on,order=c -usb -device usb-tablet,id=input0 -drive if=none,id=drive-system-disk-1,format=raw,media=cdrom -device ide-drive,drive=drive-system-disk-1,id=system-disk-1,bootindex=0 -acpitable file=/home/seabios/out/q35-acpi-dsdt.aml -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0  -vnc :10 -vga std

+++ This bug was initially created as a clone of Bug #895362 +++

Description of problem:
Win8 32/64 s3 state block by graphics, but qxl driver doesn't support win8, so file this bug to trace qxl driver will support win8 or not.

Version-Release number of selected component (if applicable):
kernel:2.6.32-352.el6.x86_64
qemu-kvm:qemu-kvm-0.12.1.2-2.349.el6.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Boot up guest with follow command line:
#/usr/libexec/qemu-kvm -M rhel6.4.0 -cpu SandyBridge,+sep -m 8G -smp 4,sockets=2,cores=2,threads=1,maxcpus=16 -enable-kvm -name win8-32 -uuid 990ea161-6b67-47b2-b803-19fb01d30d12 -smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 -k en-us -rtc base=localtime,clock=host,driftfix=slew -no-kvm-pit-reinjection -monitor stdio -qmp tcp:0:6666,server,nowait -boot menu=on -bios /usr/share/seabios/bios.bin -drive file=/home/win8-32-backup.qcow2,if=none,id=drive-scsi-disk,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=0x3 -device scsi-hd,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk,bootindex=1 -chardev socket,path=/tmp/isa-serial,server,nowait,id=isa1 -device isa-serial,chardev=isa1,id=isa-serial1 -vga qxl -spice port=5900,disable-ticketing -device virtio-balloon-pci,id=balloon1,bus=pci.0,addr=0x4 -netdev tap,id=hostnet0,downscript=no -device e1000,netdev=hostnet0,id=net0,mac=00:1d:45:0d:3a:fe,bus=pci.0,addr=0x5,bootindex=2 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0

2.execute "powercfg -a" in cmd.
Result:
...
Standby (S3)
    An internal system component has disabled this standby state.
       Graphics
...

  
Actual results:
s3 state disable by graphics

Expected results:
s3 state enabled

Additional info:

--- Additional comment from mazhang on 2013-01-15 01:43:20 EST ---



*** This bug has been marked as a duplicate of bug 895356 ***

--- Additional comment from langfang on 2013-03-07 22:11:53 EST ---

Test the same steps use windows2012 guest ,have same problem.

Comment 2 Arnon Gilboa 2013-07-31 12:36:43 UTC
Moving to Vadim, as he is the developer of Win8 qxl display-only driver.

Comment 4 Vadim Rozenfeld 2014-01-02 22:18:10 UTC
Could you please try the latest qxl driver available for download here:
https://brewweb.devel.redhat.com/buildinfo?buildID=323507

Thanks,
Vadim.

Comment 10 huiqingding 2014-03-06 02:36:56 UTC
Reproduce this bug using the following version:
qemu-kvm-1.5.3-50.el7.x86_64
3.10.0-101.el7.x86_64

Steps to Reproduce:
1. boot a windows guest (win8 32/64 and win2012 guests were tested)
 /usr/libexec/qemu-kvm -M pc -cpu SandyBridge -enable-kvm -m 2048 -smp 2,sockets=1,cores=2,threads=1 -name rhel7 -uuid 6afa5f93-2d4f-420f-81c6-e5fdddbd1c83 -drive file=/home/win2012-64-virtio.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,serial=40c061dd-5d60-4fc5-865f-55db700407f0,cache=none,werror=stop,rerror=stop,aio=threads -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:42:0a:00,bus=pci.0,addr=0x3 -vnc :2  -monitor stdio -spice port=5900,disable-ticketing -global qxl-vga.vram_size=67108864 -vga qxl -boot menu=on -device virtio-balloon-pci,id=balloon1 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0
2. inside guest, execute "powercfg -a" in cmd.

Actual results:
after step2, s3 is disabled by graphics:
...
Standby (S3)
    An internal system component has disabled this standby state.
       Graphics
...

Verify this bug using the following version:
qemu-kvm-1.5.3-50.el7.x86_64
kernel-3.10.0-101.el7.x86_64
qxlwddm-0.3

Steps to Reproduce:
1. boot a windows guest (win8 32/64 and win2012 guests were tested)
 /usr/libexec/qemu-kvm -M pc -cpu SandyBridge -enable-kvm -m 2048 -smp 2,sockets=1,cores=2,threads=1 -name rhel7 -uuid 6afa5f93-2d4f-420f-81c6-e5fdddbd1c83 -drive file=/home/win2012-64-virtio.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,serial=40c061dd-5d60-4fc5-865f-55db700407f0,cache=none,werror=stop,rerror=stop,aio=threads -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:42:0a:00,bus=pci.0,addr=0x3 -vnc :2  -monitor stdio -spice port=5900,disable-ticketing -global qxl-vga.vram_size=67108864 -vga qxl -boot menu=on -device virtio-balloon-pci,id=balloon1 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -cdrom qxlwddm.iso
2. inside guest, execute "powercfg -a" in cmd.
3. inside guest, update the driver of "Display adapters" to qxlwddm
4. inside guest, execute "powercfg -a" in cmd.
Actual results:
after step2, s3 is disabled by graphics:
...
Standby (S3)
    An internal system component has disabled this standby state.
       Graphics
...
after step4, s3 is enabled

Based on the above results, I think this bug has been fixed.

Comment 12 Ludek Smid 2014-06-13 12:23:23 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.