[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]