vmm: vm: Implement the Transportable trait

This is only implementing the send() function in order to store all Vm
states into a file.

This needs to be extended for live migration, by adding more transport
methods, and also the recv() function must be implemented.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2020-02-25 01:09:54 +01:00
committed by Sebastien Boeuf
parent 1ed357cf34
commit b55b83c6e8
2 changed files with 63 additions and 4 deletions
+2
View File
@@ -14,6 +14,7 @@ extern crate serde;
extern crate serde_derive;
extern crate serde_json;
extern crate tempfile;
extern crate url;
extern crate vmm_sys_util;
use crate::api::{ApiError, ApiRequest, ApiResponse, ApiResponsePayload, VmInfo, VmmPingResponse};
@@ -37,6 +38,7 @@ pub mod cpu;
pub mod device_manager;
pub mod interrupt;
pub mod memory_manager;
pub mod migration;
pub mod seccomp_filters;
pub mod vm;