vmm: Implement the VM HTTP endpoint handlers

Implement the vm.create, vm.boot, vm.shutdown and vm.reboot HTTP endpoint
handlers.

Fixes: #244

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2019-09-27 01:37:06 +02:00
parent 8a5e47f989
commit c505cfae2b
4 changed files with 136 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ extern crate vmm_sys_util;
pub use self::http::start_http_thread;
pub mod http;
pub mod http_endpoint;
use crate::config::VmConfig;
use crate::vm::Error as VmError;