Skip to content

Commit fca72f4

Browse files
ustiugovamohoste
authored andcommitted
few tweaks for the firecracker upgrade (patch-and-snapload fix)
Signed-off-by: Dmitrii Ustiugov <dmitrii.ustiugov@epfl.ch>
1 parent e164875 commit fca72f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vmm/src/memory_snapshot.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use std::fmt::{Display, Formatter};
77
use std::fs::File;
88
use std::io::SeekFrom;
99

10+
use logger::info;
1011
// for userfaultfd
1112
use std::path::PathBuf;
1213
use std::os::unix::io::AsRawFd;
@@ -68,7 +69,7 @@ where
6869
enable_user_page_faults: bool,
6970
) -> std::result::Result<Self, Error>;
7071
/// Registers guest memory for hanlding page faults with an external user-level process
71-
fn register_for_upf(&self, &PathBuf) -> std::result::Result<(), Error>;
72+
fn register_for_upf(&self, sock_file_path: &PathBuf) -> std::result::Result<(), Error>;
7273
}
7374

7475
/// Errors associated with dumping guest memory to file.

0 commit comments

Comments
 (0)