Bug 1010824 - virsh suspend command should raise error for paused VM
Summary: virsh suspend command should raise error for paused VM
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 06:55 UTC by liumbj
Modified: 2013-10-07 13:47 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-07 13:47:32 UTC


Attachments (Terms of Use)

Description liumbj 2013-09-23 06:55:33 UTC
Description of problem:
virsh suspend command should raise error for paused VM. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.# virsh list --all
 Id    Name                           State
----------------------------------------------------
 12    vm1                            running

2.# virsh suspend vm1
Domain vm1 suspended

3.#virsh suspend vm1
Domain vm1 suspended

4. echo $?
0

5.# virsh list --all
 Id    Name                           State
----------------------------------------------------
 12    vm1                            paused

Actual results:
No error information.

Expected results:
Error is raised.

Additional info:

Comment 1 Cole Robinson 2013-10-04 20:51:39 UTC
Not particularly important for Fedora, so moving to the upstream tracker.

Comment 2 Dave Allan 2013-10-07 13:47:32 UTC
Closing as NOTABUG per the upstream discussion at:

https://www.redhat.com/archives/libvir-list/2013-October/msg00224.html


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