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 1170111 - fail to do ACPI for windows guest under Q35 if not enable it in command line
Summary: fail to do ACPI for windows guest under Q35 if not enable it in command line
Keywords:
Status: CLOSED DUPLICATE of bug 1170533
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Marcel Apfelbaum
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-03 10:04 UTC by Sibiao Luo
Modified: 2015-04-15 09:46 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-15 09:46:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot-bug1170111. (69.77 KB, image/png)
2014-12-04 05:23 UTC, Sibiao Luo
no flags Details

Description Sibiao Luo 2014-12-03 10:04:25 UTC
Description of problem:
Found this bug when replied bug 949900.
According to Bug 1111107 that Q35 is no longer "tech preview" in RHEL7.x and is simply now unsupported (it will only be in qemu-kvm-rhev). And checked with Amit in IRC that both (q35 and s3/s4) are techpreview, S3/S4 was enable by default under Q35 chipset which no need to sepcify "-global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0" in qemu-kvm command line.

Version-Release number of selected component (if applicable):
# uname -r && rpm -q qemu-kvm-rhev
3.10.0-211.el7.x86_64
qemu-kvm-rhev-2.1.2-14.el7.x86_64
guest info:
win7 64bit

How reproducible:
100%

Steps to Reproduce:
1.Launch a win7 KVM guest with "spice + qxl" under Q35 chipset without "-global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0" specified in command line.

# /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/rhel7-64.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK1 -device virtio-blk-pci,drive=drive-system-disk,id=system-disk,bus=pcie.0,addr=0x04,bootindex=1 -netdev tap,id=hostnet0,vhost=off,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=08:2e:5f:0a:0d:b1,bus=pcie.0,addr=0x5,bootindex=2 -balloon none -usb -device usb-tablet,id=input0 -serial unix:/tmp/ttyS0,server,nowait -qmp tcp:0:4444,server,nowait -k en-us -boot menu=on -spice disable-ticketing,port=5931 -vga qxl -monitor stdio

Actual results:
after step 1, the Sleep and Hibernate button was grayer which cann't hit at all.

If append "-global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0" in qemu command line, the Sleep and Hibernate button was ok to hit, but QEMU will prompt a warning message.
e.g:...-global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -spice disable-ticketing,port=5931 -vga qxl -monitor stdio
Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
QEMU 2.1.2 monitor - type 'help' for more information
(qemu) qemu-kvm: Warning: "-global PIIX4_PM.disable_s3=0" not used
qemu-kvm: Warning: "-global PIIX4_PM.disable_s4=0" not used

Expected results:
It shouldn't have any effect on q35 chipset.

Additional info:
Rhel7.1 guest + spice + qxl did not hit this issue which no need to enable it by manual in command line.

Comment 1 Sibiao Luo 2014-12-03 10:08:08 UTC
(In reply to Sibiao Luo from comment #0)
> Description of problem:
> 
> # /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/rhel7-64.qcow2,if=none,id=drive-system-disk,format=qcow2,
             ^^^^^^^^replace it to win7-64-sp1-virtio.qcow2
> cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK1 -device
> virtio-blk-pci,drive=drive-system-disk,id=system-disk,bus=pcie.0,addr=0x04,
> bootindex=1 -netdev tap,id=hostnet0,vhost=off,script=/etc/qemu-ifup -device
> virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=08:2e:5f:0a:0d:b1,
> bus=pcie.0,addr=0x5,bootindex=2 -balloon none -usb -device
> usb-tablet,id=input0 -serial unix:/tmp/ttyS0,server,nowait -qmp
> tcp:0:4444,server,nowait -k en-us -boot menu=on -spice
> disable-ticketing,port=5931 -vga qxl -monitor stdio

Comment 3 Sibiao Luo 2014-12-04 05:23:50 UTC
Created attachment 964445 [details]
Screenshot-bug1170111.

Comment 4 Sibiao Luo 2014-12-04 05:25:35 UTC
append my win7 guest driver version:
virtio-win-prewhql-0.1-93
qxl-win-0.1-20

Comment 5 Ronen Hod 2014-12-04 14:33:12 UTC
Deferring. Both Q35 and S3/4 are not fully supported in 7.1.

Comment 7 Marcel Apfelbaum 2015-04-15 09:46:10 UTC

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


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