mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +00:00
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:
parent
a6ad85dc40
commit
6f63cd00eb
@ -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)]
|
#[derive(Serialize, Deserialize)]
|
||||||
struct DeviceManagerState {
|
struct DeviceManagerState {
|
||||||
device_tree: DeviceTree,
|
device_tree: DeviceTree,
|
||||||
|
Loading…
Reference in New Issue
Block a user