cloud-hypervisor/vmm/src
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
..
api api: http: make consistent api and implementation 2019-10-17 07:39:56 +02:00
config.rs api: http: handle cpu according to openapi 2019-10-17 07:39:56 +02:00
device_manager.rs vmm: device_manager: Ensure I/O ports are allocated 2019-11-05 10:13:01 +00:00
lib.rs vmm: Release the old vm before build a new one 2019-11-05 14:40:43 +01:00
vm.rs cargo: Update to the latest kvm-ioctls version 2019-10-31 09:30:59 +01:00