cloud-hypervisor/vmm
Samuel Ortiz f674019ea1 vmm: {De}serialize VmConfig
We use the serde crate to serialize and deserialize the VmVConfig
structure. This structure will be passed from the HTTP API caller as a
JSON payload and we need to deserialize it into a VmConfig.

For a convenient use of the HTTP API, we also provide Default traits
implementations for some of the VmConfig fields (vCPUs, memory, etc...).

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-10-04 09:36:33 +02:00
..
src vmm: {De}serialize VmConfig 2019-10-04 09:36:33 +02:00
Cargo.toml vmm: {De}serialize VmConfig 2019-10-04 09:36:33 +02:00