Skip to content
  • Guido Trotter's avatar
    KVM: add the _InstancePidAlive function · 1f8b3a27
    Guido Trotter authored
    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
    1f8b3a27