cloud-hypervisor/vmm
Cathy Zhang 5cd4f5daeb vmm: Release the old vm before build a new one
In vm_reboot, while build the new vm, the old one pointed by self.vm
is not released, that is, the tap opened by self.vm is not closed
either. As a result, the associated dev name slot in host kernel is
still in use state, which prevents the new build from picking it up as
the new opened tap's name, but to use the name in next slot finally.
Call self.vm_shutdown instead here since it has call take() on vm reference,
which could ensure the old vm is destructed before the new vm build.

Signed-off-by: Cathy Zhang <cathy.zhang@intel.com>
2019-11-05 14:40:43 +01:00
..
src vmm: Release the old vm before build a new one 2019-11-05 14:40:43 +01:00
Cargo.toml cargo: Update to the latest kvm-ioctls version 2019-10-31 09:30:59 +01:00