-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Based on rust-vmm/vm-memory#312, I think we can replace
libkrun/src/vmm/src/linux/vstate.rs
Line 502 in 714e762
pub guest_memfds: Vec<(Range<u64>, RawFd)>, |
GuestRegionCollection
by doing something like:
struct MockRegion {
range: Range<u64>,
fd: RawFd,
}
...
pub guest_memfds: GuestRegionCollection<MockRegion>;
do you think it would be worth to do it?
Thanks,
Metadata
Metadata
Assignees
Labels
No labels