cloud-hypervisor/vmm
Bo Chen e3d2917d5f vmm: Implement Clone and Drop for VmConfig
The custom 'clone' duplicates 'preserved_fds' so that the validation
logic can be safely carried out on the clone of the VmConfig.

The custom 'drop' ensures 'preserved_fds' are safely closed when the
holding VmConfig instance is destroyed.

Signed-off-by: Bo Chen <chen.bo@intel.com>
2023-04-17 16:33:29 +01:00
..
src vmm: Implement Clone and Drop for VmConfig 2023-04-17 16:33:29 +01:00
Cargo.toml build: Bump serde_json from 1.0.93 to 1.0.95 2023-04-04 00:41:41 +00:00