hv_chroot: move unmount to CleanupInstance()
authorIustin Pop <iustin@google.com>
Wed, 21 Apr 2010 13:49:49 +0000 (15:49 +0200)
committerIustin Pop <iustin@google.com>
Wed, 21 Apr 2010 17:22:02 +0000 (19:22 +0200)
commit9e302a8c441433736de977d2d9b59f1c2ba43b77
tree81d2621ada92b3ccf39d1a8c97f5b168b8472a78
parent74a4c11bc526edd33e8620b1799618b482660025
hv_chroot: move unmount to CleanupInstance()

This allows cleanup to be done properly if the "instance" wasn't running
at all (based on the CleanupInstance framework, instead of the retry in
hypervisor).

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