Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 947305

Summary: win8 and win2012 guests desktop resolution change after resume from s4
Product: Red Hat Enterprise Linux 6 Reporter: Qunfang Zhang <qzhang>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: acathrow, bsarathy, juzhang, mazhang, michen, mkenneth, 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: Environment:
Last Closed: 2014-03-27 09:36:57 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:    
Bug Blocks: 912287    
Attachments:
Description Flags
win8 resolution change to very lower after resume from s4
none
win8 guest has no colour
none
win2012 no color none

Description Qunfang Zhang 2013-04-02 06:20:01 UTC
Description of problem:
Boot up a win8 or win2014 guest, and do s4. After resume, guest desktop resolution changes to 640x480 and the desktop has no colour. Please check the attachment.

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

How reproducible:
ALways

Steps to Reproduce:
1. Boot up a win8 or win2012 guest, eg:
 /usr/libexec/qemu-kvm  -M rhel6.4.0 -cpu Nehalem,+sep -enable-kvm -m 4096 -smp 2,sockets=2,cores=1,threads=1 -name rhel6.4-64 -uuid 9a0e67ec-f286-d8e7-0548-0c1c9ec93009 -nodefconfig -nodefaults -monitor stdio -rtc base=utc -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2  -drive file=/home/win8-32-virtio.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device ide-drive,bus=ide.0,unit=1,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:d5:51:8a,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0  -device usb-tablet,id=input0 -vnc :10 -vga std -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0   -global PIIX4_PM.disable_s4=0

2. Suspend guest to disk or shutdown with fast bootup option enabled

3. Resume guest by boot up guest again with same command line
  
Actual results:
Guest resolution changes to a lower size and there's no colour in guest desktop.

Expected results:


Additional info:

Comment 1 Qunfang Zhang 2013-04-02 06:21:39 UTC
Created attachment 730610 [details]
win8 resolution change to very lower after resume from s4

Comment 2 Qunfang Zhang 2013-04-02 06:22:10 UTC
Created attachment 730611 [details]
win8 guest has no colour

Comment 4 Gerd Hoffmann 2013-05-14 09:08:26 UTC
Hmm, doesn't reproduce.

Win8 doesn't resume successfully in the first place for me.  It fails once, then reports the pc had an problem and goes turn off hibernate / fastboot in control panel.

Comment 5 Ronen Hod 2013-05-26 17:32:08 UTC
S3/S4 are not supported in RHEL6.4/6.5, so I defer to 6.6.

Comment 6 mazhang 2013-10-11 03:19:30 UTC
Reproduce on qemu-kvm-0.12.1.2-2.411.el6.x86_64, guest was win2012.

host:
RHEL6.5-Snapshot-2.0
kernel-2.6.32-422.el6.x86_64
qemu-kvm-0.12.1.2-2.411.el6.x86_64

Steps to Reproduce:
1. enable hibernate:
 powercfg /h on
 powercfg /a
The following sleep states are available on this system:
    Hibernate
    Fast Startup

2. Change settings that are currently unavailable -> Shutdown settings -> check 'Hibernate' -> Save changes

3. do s4
(qemu)system_powerdown

Result:
Guest resolution changes to a lower size and there's no colour in guest desktop.

Comment 7 mazhang 2013-10-11 03:20:31 UTC
Created attachment 810847 [details]
win2012 no color

Comment 9 Ronen Hod 2014-03-27 09:36:57 UTC
Closing
S3/S4 will only be supported by the new QXL driver.