main: Start the VMM thread

We now start the main VMM thread, which will be listening for VM and IPC
related events.
In order to start the configured VM, we no longer directly call the VM
API but we use the IPC instead, to first create and then start a VM.

Fixes: #303

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2019-09-25 15:01:49 +02:00
parent e235c6de4f
commit 8188074300
5 changed files with 46 additions and 115 deletions
+2
View File
@@ -7,8 +7,10 @@ edition = "2018"
[dependencies]
clap = "2.33.0"
lazy_static = "1.4.0"
libc = "0.2.62"
log = { version = "0.4.8", features = ["std"] }
vmm = { path = "vmm" }
vmm-sys-util = { git = "https://github.com/rust-vmm/vmm-sys-util" }
[dev-dependencies]
ssh2 = "0.4.0"