diff options
Diffstat (limited to 'arch/src/lib.rs')
-rw-r--r-- | arch/src/lib.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/src/lib.rs b/arch/src/lib.rs index 91e7ee4..71e4327 100644 --- a/arch/src/lib.rs +++ b/arch/src/lib.rs @@ -83,7 +83,12 @@ pub trait LinuxArch { create_devices: F, ) -> Result<RunnableLinuxVm, Self::Error> where - F: FnOnce(&GuestMemory, &EventFd) -> Result<Vec<(Box<dyn PciDevice>, Option<Minijail>)>, E>, + F: FnOnce( + &GuestMemory, + &mut Vm, + &mut SystemAllocator, + &EventFd, + ) -> Result<Vec<(Box<dyn PciDevice>, Option<Minijail>)>, E>, E: StdError + 'static; } |