KVM: move post-shutdown cleanup operations
authorGuido Trotter <ultrotter@google.com>
Mon, 19 Apr 2010 15:22:33 +0000 (16:22 +0100)
committerGuido Trotter <ultrotter@google.com>
Tue, 20 Apr 2010 15:45:18 +0000 (16:45 +0100)
commit8904b35c4e23ee51b988acfb9043e284f048a32d
treeaf4f106e621f22f5ef1f2c103ea0e4df69e603cb
parent9d91c6abd0de0c6d01d2b2d76e2cbfcaf0496482
KVM: move post-shutdown cleanup operations

Currently putting the cleanup just after the actual shutdown ensures
that it never gets called, due to how the retry/shutdown cycle works.
So we move those cleanups to their new dedicated place.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/hypervisor/hv_kvm.py