Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ virtual_size
Method
virtual_size
block/src/qcow/metadata.rs:335–337 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
333
}
334
335
pub fn virtual_size(&self) -> u64 {
336
self.inner.read().unwrap().header.size
337
}
338
339
pub fn cluster_size(&self) -> u64 {
340
self.inner.read().unwrap().raw_file.cluster_size()
Callers
4
punch_hole
Method · 0.45
punch_hole
Method · 0.45
logical_size
Method · 0.45
read_at
Method · 0.45
Calls
1
read
Method · 0.45
Tested by
no test coverage detected