« Previous | Next » 

Revision 1f8b3a27

ID1f8b3a27a5ac27750b6b5fcf43a1b91f6ee112c9

Added by Guido Trotter about 15 years ago

KVM: add the _InstancePidAlive function

Throughout the kvm code we very often look for the instance pidfile
name, read it, and check if the process is alive. Abstract this into a
private function and use that one instead.

This patch also changes RebootInstance to check whether the instance is
alive before trying to reboot it.

Reviewed-by: iustinp

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences