vmm: api: Add seccomp to the HTTP API thread

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-03-20 17:31:15 +01:00
parent db62cb3f4d
commit f1a23d712f
3 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ pub fn start_vmm_thread(
.map_err(Error::VmmThreadSpawn)?;
// The VMM thread is started, we can start serving HTTP requests
api::start_http_thread(http_path, http_api_event, api_sender)?;
api::start_http_thread(http_path, http_api_event, api_sender, seccomp_level)?;
Ok(thread)
}