mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-30 00:00:15 +01:00
![]() The syntax ioctl!(write <fnc> with KVMIO, <id>; <type>) is shorter than ioctl!(<fnc> with iow!(KVMIO, <id>; mem::size_of::<type>())). Futhermore the filedescriptor of vcpu.rs was invalid, because the destructor of File::from_raw was immediately called. The vcpu struct contains now the copy of the fd in the Rust world, perhaps there is an easier way to pass the fd to memmap. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml |