mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
krata: begin work on guest message channel
This commit is contained in:
@ -14,6 +14,7 @@ use sys::{
|
||||
|
||||
use libc::{mmap, munmap, MAP_FAILED, MAP_SHARED, PROT_READ, PROT_WRITE};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct GrantDevice {
|
||||
handle: Arc<File>,
|
||||
}
|
||||
@ -142,6 +143,7 @@ impl GrantAlloc {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct GrantTab {
|
||||
device: GrantDevice,
|
||||
}
|
||||
|
Reference in New Issue
Block a user