mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-04-01 20:04:37 +00:00
main: Fix restore CLI
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
859a96181f
commit
dc97b67dac
@ -344,7 +344,7 @@ fn start_vmm(cmd_arguments: ArgMatches) {
|
||||
)
|
||||
.expect("Could not create the VM");
|
||||
vmm::api::vm_boot(api_evt.try_clone().unwrap(), sender).expect("Could not boot the VM");
|
||||
} else if let Some(restore_url) = cmd_arguments.value_of("restore-from") {
|
||||
} else if let Some(restore_url) = cmd_arguments.value_of("restore") {
|
||||
vmm::api::vm_restore(
|
||||
api_evt.try_clone().unwrap(),
|
||||
api_request_sender,
|
||||
|
Loading…
x
Reference in New Issue
Block a user