cloud-hypervisor/vmm/src/api
Sebastien Boeuf defc5dcd9c vmm: api: Modify FsConfig to be OpenAPI friendly
When consumer of the HTTP API try to interact with cloud-hypervisor,
they have to provide the equivalent of the config structure related to
each component they need. Problem is, the Rust enum type "Option" cannot
be obtained from the OpenAPI YAML definition.

This patch intends to fix this inconsistency between what is possible
through the CLI and what's possible through the HTTP API by using simple
types bool and int64 instead of Option<u64>.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-12-06 06:38:48 -08:00
..
openapi vmm: api: Modify FsConfig to be OpenAPI friendly 2019-12-06 06:38:48 -08:00
http_endpoint.rs vmm: Switch to storing VmConfig inside an Arc<Mutex<>> 2019-12-05 16:39:19 +00:00
http.rs vmm: Add HTTP API to resize the VM 2019-12-02 13:49:04 +00:00
mod.rs vmm: Switch to storing VmConfig inside an Arc<Mutex<>> 2019-12-05 16:39:19 +00:00