[libvirt] [PATCH 0/2] Check domain status before virsh suspend or resume

John Ferlan jferlan at redhat.com
Mon Apr 15 16:49:12 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=906644

Added checks to both virsh suspend and virsh resume for the domain to be
in a the right state before trying the suspend/resume. Similar checks to
examples/domsuspend/suspend.c.

Although not stated in case, any thoughts on adding a --force for both?

John Ferlan (2):
  virsh: Add check for domain state before attempting resume
  virsh: Add check for domain state before attempting suspend

 tools/virsh-domain.c | 40 +++++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

-- 
1.8.1.4




More information about the libvir-list mailing list