vmm: Rename the VM start and stop operations to boot and shutdown

To match the OpenAPI description. And also to map the real life
terminology.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2019-09-30 11:53:49 +02:00
parent ce0b475ef7
commit 46cde1a38e
4 changed files with 28 additions and 28 deletions

View File

@@ -356,7 +356,7 @@ fn main() {
};
if cmd_arguments.is_present("vm-config") && vm_config.valid() {
// Create and start the VM based off the VM config we just built.
// Create and boot the VM based off the VM config we just built.
let sender = api_request_sender.clone();
vmm::api::vm_create(
api_evt.try_clone().unwrap(),
@@ -364,7 +364,7 @@ fn main() {
Arc::new(vm_config),
)
.expect("Could not create the VM");
vmm::api::vm_start(api_evt.try_clone().unwrap(), sender).expect("Could not start the VM");
vmm::api::vm_boot(api_evt.try_clone().unwrap(), sender).expect("Could not boot the VM");
}
match vmm_thread.join() {