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 1163712

Summary: rhel7 guest show dark screen while "system_powerdown" guest
Product: Red Hat Enterprise Linux 7 Reporter: langfang <flang>
Component: qemu-kvm-rhevAssignee: Amit Shah <amit.shah>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: hhuang, juzhang, michen, qiguo, sluo, 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-12-03 08:53:22 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:

Description langfang 2014-11-13 10:38:05 UTC
Description of problem:

Rhel7 guest show dark screen when "system_powerdown" guest

Version-Release number of selected component (if applicable):
Host
# uname -r
3.10.0-200.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-2.1.2-7.el7.x86_64

Guest:rhel7
3.10.0-200.el7.x86_64

How reproducible:

100%

Steps to Reproduce:
1.Boot guest 

2.In guest:
#gsettings get org.gnome.settings-daemon.plugins.power button-power
'suspend' 

3.QMP
{"execute":"system_powerdown"}

{"execute":"query-status"}-->running


Actual results:

Dark screen

Expected results:

Not show dark screen

Additional info:
1) I test boot guest with
"-global PIIX4_PM.disable_s3=0"-->#pm-suspend--->work well
"-global PIIX4_PM.disable_s3=0"-->#system_powerdown--->work well

2)My CLI:
 /usr/libexec/qemu-kvm -name rhel7.1 -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -cpu Nehalem,enforce -m 2048 -smp 4 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -no-user-config -nodefaults -monitor stdio -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/home/rhel7.1-copy.qcow2v3,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:36:39:e9:3f:7a,bus=pci.0,addr=0x3 -device usb-tablet,id=input0 -vnc :11 -vga std -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -chardev socket,id=charserial0,path=/tmp/flang-test,server,nowait -device isa-serial,chardev=charserial0,id=serial0 -global PIIX4_PM.disable_s3=0

Comment 2 Sibiao Luo 2014-11-21 05:15:56 UTC
FYI: It maybe duplicate to bug 980692 [1].
[1] Bug 980692 - gdm login screen in VMs: the ACPI power button should by default effect a shutdown

Comment 3 Amit Shah 2014-12-03 08:53:22 UTC
What's happening is powerdown is translated to suspend by the guest.  Use guest-agent command to shutdown if you really want to shutdown.

Marking as a dup for now.

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