Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/rot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ pub enum VmInstanceRotError {

/// This type mocks the `propolis` process that backs a VM.
pub struct VmInstanceRot {
oxattest_mock: Box<dyn OxAttest>,
oxattest_mock: Box<dyn OxAttest + Send>,
log: VmInstanceConf,
}

unsafe impl Send for VmInstanceRot {}

impl VmInstanceRot {
pub fn new(oxattest_mock: Box<dyn OxAttest>, log: VmInstanceConf) -> Self {
pub fn new(
oxattest_mock: Box<dyn OxAttest + Send>,
log: VmInstanceConf,
) -> Self {
Self { oxattest_mock, log }
}
}
Expand Down
Loading