MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / fd

Method fd

block/src/vhdx_sync.rs:70–72  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

68
69impl disk_file::DiskFd for VhdxDiskSync {
70 fn fd(&self) -> BorrowedDiskFd<'_> {
71 BorrowedDiskFd::new(self.vhdx_file.lock().unwrap().as_raw_fd())
72 }
73}
74
75impl disk_file::Geometry for VhdxDiskSync {}

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
as_raw_fdMethod · 0.45

Tested by

no test coverage detected