vmm: Provide vmm version to start_vmm_thread

When vmm.ping give a response, we expect get the version from
the VMM not the vmm create

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz
2019-11-21 18:32:39 +00:00
committed by Sebastien Boeuf
parent a518651402
commit 1d852e9ce5
2 changed files with 7 additions and 3 deletions

View File

@@ -358,6 +358,7 @@ fn main() {
let http_sender = api_request_sender.clone();
let vmm_thread = match vmm::start_vmm_thread(
env!("CARGO_PKG_VERSION").to_string(),
api_socket_path,
api_evt.try_clone().unwrap(),
http_sender,