diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs index c65fab97d..93ae51bc6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -81,7 +81,6 @@ use vm_control::BalloonControlCommand; use vm_control::DiskControlCommand; use vm_control::HotPlugDeviceInfo; use vm_control::HotPlugDeviceType; -use vm_control::RestoreCommand; use vm_control::SnapshotCommand; use vm_control::SwapCommand; use vm_control::UsbControlResult; @@ -633,13 +632,6 @@ fn snapshot_vm(cmd: cmdline::SnapshotCommand) -> std::result::Result<(), ()> { }); (take_cmd.socket_path, req) } - Restore(path) => { - let req = VmRequest::Restore(RestoreCommand::Apply { - restore_path: path.snapshot_path, - require_encrypted: path.require_encrypted, - }); - (path.socket_path, req) - } }; let socket_path = Path::new(&socket_path); vms_request(&request, socket_path) |