Bug 745158

Summary: Virsh shutdown without effect
Product: Red Hat Enterprise Linux 6 Reporter: Pavel Studeník <pstudeni>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2CC: acathrow, dallan
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: 2011-10-11 21:03:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
libvirt debug log none

Description Pavel Studeník 2011-10-11 14:24:23 UTC
Description of problem:
I created kvm guest on host with this configuration (attachment). I run virsh shutdown and guest was still running.

Version-Release number of selected component (if applicable):
libvirt-client-0.9.4-12.el6.x86_64
redhat-release-server-6Server-6.2.0.2.el6.x86_64 (host)

How reproducible:
always

Steps to Reproduce:
1. create virtual quest
2. virsh list (running)
3. virsh shutdown <domain>
4. virsh list (guest stil running)
  
Expected results:
libvirt debug and xml configure in attachment

Comment 1 Pavel Studeník 2011-10-11 14:25:22 UTC
Created attachment 527452 [details]
libvirt debug log

Comment 2 Dave Allan 2011-10-11 14:27:35 UTC
Pavel, virsh shutdown sends an acpi event and thus requires cooperation of the guest OS.  If the guest is linux, install acpid.

Comment 4 Dave Allan 2011-10-11 21:03:37 UTC
(In reply to comment #2)
> Pavel, virsh shutdown sends an acpi event and thus requires cooperation of the
> guest OS.  If the guest is linux, install acpid.

Per IRC conversation with the reporter, that was the problem, so closing as NOTABUG.