You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: do not panic if malformed snapshot file contains vhost devices
If a snapshot file is corrupted in a way that makes it _look_ like it
contains a vhost-user-blk device, restoring will hit an `unimplemented!`
inside `block::vhost_user/persist.rs`. So instead of using
`unimplemented!`, just unconditionally return an error here. These
errors are handled properly and cause Firecracker to exit gracefully
instead.
Signed-off-by: Patrick Roy <[email protected]>
0 commit comments