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 1304960 - executing (qemu)system_powerdown causes the linux guest frozen
Summary: executing (qemu)system_powerdown causes the linux guest frozen
Keywords:
Status: CLOSED DUPLICATE of bug 1246944
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.8
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: 2016-02-05 05:27 UTC by jingzhao
Modified: 2016-03-09 00:56 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-09 00:56:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1246944 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1246944

Description jingzhao 2016-02-05 05:27:18 UTC
Description of problem:
When executing '(qemu)system_powerdown' in the host, the guest fails shutting down and it is frozen. BTW, it can be shut down successfully by executing 'shutdown -h now' in guest. 


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

Guest:
kernel:kernel:kernel-3.10.0-327.11.1.el7


How reproducible:
100%

Steps to Reproduce:

1.start a linux guest
/usr/libexec/qemu-kvm \
-name rhel6.6.0 \
-machine rhel6.6.0,accel=kvm \
-realtime mlock=off \
-cpu SandyBridge \
-m 8G   \
-smp 8,cores=4,threads=1,sockets=4  \
-uuid 49a3438a-70a3-4ba8-92ce-3a05e0934608 \
-nodefaults \
-rtc base=utc,driftfix=slew \
-monitor unix:/tmp/monitor,server,nowait \
-global kvm-pit.lost_tick_policy=discard \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-boot order=c,menu=on,strict=on \
-device virtio-scsi-pci,id=scsi \
-drive file=/home/0201/rhel7.img,if=none,format=qcow2,id=drive-virtio-scsi,werror=stop,rerror=stop \
-device scsi-hd,drive=drive-virtio-scsi,id=virtio-scsi,bus=scsi.0,scsi-id=0 \
-netdev tap,id=hostnet0,vhost=on \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:42:0a:00 \
-monitor stdio \
-qmp tcp:0:4466,server,nowait -serial unix:/tmp/ttym,server,nowait \
-vga qxl \
-spice port=5912,addr=0.0.0.0,disable-ticketing,seamless-migration=on \
-k en-us \

2.shut down the guest in host
(qemu) system_powerdown
(qemu) inputs_detach_tablet: 
(qemu) 
(qemu) info status
VM status: running



Actual results:
The guest fails shut down and it is frozen.


Expected results:
The guest shut down successfully without any problem.

Another info:
1. Also can reproduced with kernel-2.6.32-573.20.1.el6.x86_64 and qemu-kvm-0.12.1.2-2.487.el6.x86_64 (guest kernel:kernel-3.10.0-327.11.1.el7)
2. The issue didn't reproduced with rhel6.7 guest


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