KVM: fix RebootInstance
authorGuido Trotter <ultrotter@google.com>
Wed, 21 Jan 2009 18:22:35 +0000 (18:22 +0000)
committerGuido Trotter <ultrotter@google.com>
Wed, 21 Jan 2009 18:22:35 +0000 (18:22 +0000)
commitf02881e0a1c6792bcb7accc3b15e64074845d7d8
tree513d560a93f43e5b282a2a976648100a018e95a7
parent6567aff322fbbb2fd94362a8462d42b378feeb25
KVM: fix RebootInstance

RebootInstance was broken, because it just used to call StartInstance
with wrong parameters. With this patch we still stop the instance, but
use the saved kvm runtime to start it again.

Reviewed-by: iustinp
lib/hypervisor/hv_kvm.py