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.
Description of problem:
As subject. I tried the win 7 64bit guest to do S3/S4 under Q35, it will fail to do S3/S4, it will BSOD and reboot automaticly. the rhel7 guest will fail to do S3/S4, the guest kernel have no any info about it.
Version-Release number of selected component (if applicable):
host info:
kenrel-3.9.0-0.rc6.50.el7.x86_64
qemu-kvm-1.4.0-2.el7.x86_64
seabios-1.7.2-0.2.gita810e4e7.el7.x86_64
guest info:
win7 64bit
rhel7:kenrel-3.9.0-0.rc6.50.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1.boot up a guest under Q35.
e.g:# /usr/libexec/qemu-kvm -S -M q35 -cpu SandyBridge -enable-kvm -m 4096 -smp 2,sockets=2,cores=1,threads=1 -no-kvm-pit-reinjection -name sluo-test -uuid ed09fa10-6ffe-4811-a42f-0294afcb5a42 -rtc base=localtime,clock=host,driftfix=slew -drive file=/home/windows_7_ultimate_sp1_x64.raw,if=none,id=drive-system-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK1 -device ide-hd,drive=drive-system-disk,id=system-disk,bootindex=1 -netdev tap,id=hostnet0,vhost=off,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=e1000-net-pci0,mac=08:2e:5f:0a:0d:b1,bus=pcie.0,addr=0x4,bootindex=2 -balloon none -drive file=/home/my-data-disk.raw,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK2 -device ide-hd,drive=drive-data-disk,id=data-disk -usb -device usb-tablet,id=input0 -device usb-mouse,id=mouse -device usb-ehci,id=ehci,bus=pcie.0,addr=0x6 -drive file=/home/my-usb-storage.qcow2,if=none,id=storage0,media=disk,cache=none,format=qcow2 -device usb-storage,drive=storage0,id=usb-storage0,bus=ehci.0 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -serial unix:/tmp/ttyS0,server,nowait -qmp tcp:0:4444,server,nowait -k en-us -boot menu=on -vnc :1 -spice disable-ticketing,port=5931 -vga qxl -monitor stdio
2.do S3/S4.
3.resume it.
Actual results:
after step 2,
win 7 64bit guest will fail to do S3/S4, it will BSOD and reboot automaticly, i will attach the screenshot for it. btw, it reboot so quickly that i cann't screenshot the S3 fully.
the rhel7 guest will fail to do S3/S4, the guest kernel log have no any info about it.
Expected results:
should support S3/S4 under Q35.
Additional info:
(In reply to comment #4)
> is this a qxl thing? does it happen without?
No, not the qxl thing, it can happen without it, and the BSOD is the same. It cann't do S3/S4 under Q35.
Best Regards.
sluo
Test S3 with RHEL7 host and guest(latest version)
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-1.5.3-6.el7.x86_64
kernel 3.10.0-28.el7.x86_64
Guest do S3 and wakeup would see result like comment 6. And then shutdown guest,
console show message:
[ OK ] Reached target Shutdown.
Cannot finalize remaining file systems and devices, giving up.
dracut Warning: Killing all remaining processes
Powering off.
[ 322.780436] Power down.
After these guest block in this status, and qemu cannot quit.
For comment #0 that use AHCI interface, but currently has bug for it Bug 1170122 - KVM guest fail to find system AHCI disk under Q35 chipset, so Amit recommended i use virtio device to try it.
According to the summarize in comment #11 and comment #12 that we have separated the different bug for different new issue, so I think we can close this bug 949900 to CURRENTRELEASE. Please correct me if any mistake, thanks.
Best Regards,
sluo