vmm: device_manager: Remove ActivatedBackend struct

This was used for vhost-user self spawning but no longer has any users.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-11-25 16:48:33 +00:00 committed by Samuel Ortiz
parent a6ad85dc40
commit 6f63cd00eb

View File

@ -656,17 +656,6 @@ impl DeviceRelocation for AddressManager {
}
}
struct ActivatedBackend {
_socket_file: tempfile::NamedTempFile,
child: std::process::Child,
}
impl Drop for ActivatedBackend {
fn drop(&mut self) {
self.child.wait().ok();
}
}
#[derive(Serialize, Deserialize)]
struct DeviceManagerState {
device_tree: DeviceTree,