Bug 1023246 - Machine type pc-i440fx-rhel7.0.0 do not support S3/S4 of win8 guest
Machine type pc-i440fx-rhel7.0.0 do not support S3/S4 of win8 guest
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
x86_64 Windows
medium Severity high
: rc
: ---
Assigned To: Marcel Apfelbaum
Virtualization Bugs
Depends On:
Blocks: Virt-S3/S4-7.0
  Show dependency treegraph
Reported: 2013-10-24 22:16 EDT by FuXiangChun
Modified: 2014-07-29 06:07 EDT (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-07-29 06:07:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
q35 machine type (9.77 KB, image/png)
2013-10-24 22:20 EDT, FuXiangChun
no flags Details
pc machine type (10.17 KB, image/png)
2013-10-24 22:21 EDT, FuXiangChun
no flags Details

  None (edit)
Description FuXiangChun 2013-10-24 22:16:16 EDT
Description of problem:
only machine type q35 support S3/S4 for win8 guest. other machine type don't support in RHEL7.0.  I attached two snapshots. 

Version-Release number of selected component (if applicable):
qxl version:

How reproducible:

Steps to Reproduce:
1.qemu-kvm command line
/usr/libexec/qemu-kvm -M pc -cpu SandyBridge -enable-kvm -m 10G -smp 8,sockets=2,cores=4,threads=1 -usb -device usb-tablet,id=input0 -name sluo -uuid ec15da0a-e8a7-42f4-905a-78fed78fd8fd -rtc base=localtime,clock=host,driftfix=slew -device ahci,id=ahci0,addr=0x04 -drive file=/home/win8.1-64.qcow2,if=none,id=drive-sata-disk-0-0,format=qcow2 -device ide-drive,bus=ahci0.0,unit=0,drive=drive-sata-disk-0-0,id=sata-disk-0-0 -netdev tap,script=/etc/qemu-ifup,id=netdev0 -device rtl8139,netdev=netdev0,id=virtio-net-pci0,mac=e4:1f:13:eb:40:24,addr=0x5 -balloon virtio -vnc :1 -monitor stdio -boot menu=on -spice disable-ticketing,port=5931 -vga qxl  -global qxl-vga.revision=3 -qmp tcp:0:4444,server,nowait -usb -device usb-mouse,id=mouse -sandbox on  -drive file=/root/interface/virtio.qcow2,if=none,id=drive-sata-disk-0-1,format=qcow2 -device virtio-blk-pci,drive=drive-sata-disk-0-1,id=sata-disk-0-1 -drive file=/root/interface/scsi.qcow2,if=none,id=drive-scsi-disk,format=qcow2,aio=native -device virtio-scsi-pci,id=scsi0 -device scsi-hd,drive=drive-scsi-disk,id=data-disk -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1,server,nowait -mon chardev=qmp_id_qmpmonitor1,mode=control -drive file=qxl.iso,if=none,media=cdrom,format=raw,id=drive-ide1-0-2 -device ide-drive,drive=drive-ide1-0-2,id=ide1-0-2,bus=ide.0,unit=0

2.shutdown guest and restart guest with q35 machine type and the same command line as step1


Actual results:
after step1
win8 guest can not do S3/S4(not support)

after step2
win8 guest can do S3/S4(support)

Expected results:
linux guest don't hit this issue.  I only tested win8 64/32 bit guest. not test other windows guest.

Additional info:
Comment 1 FuXiangChun 2013-10-24 22:20:31 EDT
Created attachment 815968 [details]
q35 machine type
Comment 2 FuXiangChun 2013-10-24 22:21:30 EDT
Created attachment 815969 [details]
pc machine type
Comment 4 Ronen Hod 2014-01-14 10:45:25 EST
Probably a duplicate of one of the other Q35 S3/S4 bugs. It is not supported yet.
Comment 8 Mike Cao 2014-07-06 22:12:21 EDT
Pls retest it w/ CLI -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0
Comment 9 FuXiangChun 2014-07-29 03:47:00 EDT
Re-tested this issue with -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0. Before missing this option in cli.

win8 guest support s3 & s4.  but guest show black screen when doing s3/s4(As s3/s4 have more bugs, It is existing bug 1043379).
Comment 10 Mike Cao 2014-07-29 06:07:44 EDT
close as not a bug

Note You need to log in before you can comment on or make changes to this bug.