Bug 758648 - [libvirt] vm goes to pause state just before shutdown in case qemu stops guest cpus at the end of shutdow
Summary: [libvirt] vm goes to pause state just before shutdown in case qemu stops gue...
Keywords:
Status: CLOSED DUPLICATE of bug 754128
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.2
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-30 10:50 UTC by Haim
Modified: 2014-01-13 00:50 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-01 08:01:57 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Haim 2011-11-30 10:50:48 UTC
Description of problem:


libvirt uses paused state instead of shutdown for the case when qemu stops guest cpus at the end of shutdown and waits for libvirt to kill it. 
as a result, vm goes to pause just before the shutdown, which causes confusion to users wondering why vm goes to pause. 

vdsm-4.9.1-0.56.g3699501.el6.x86_64
libvirt-0.9.4-16.el6.x86_64
qemu-kvm-0.12.1.2-2.193.el6.x86_64
kernel-2.6.32-202.el6.x86_64

repro steps:

- start vm 
- shutdown vm 


/var/log/libvirtd.log-20111130.xz:16:03:21.067: 31226: debug : qemuProcessHandleStop:494 : Transitioned guest upsteam-rhel6-08 to paused state, reason=shutdown

Comment 1 Dave Allan 2011-11-30 22:15:40 UTC
Related (duplicate?) BZ 754128

Comment 2 Jiri Denemark 2011-12-01 08:01:57 UTC
Oops, I didn't realize this issue was already reported, sorry about that, Haim.

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


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