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

Method hotplugged_size

vmm/src/config.rs:1128–1136  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1126 }
1127
1128 pub fn hotplugged_size(&self) -> u64 {
1129 self.hotplugged_size.unwrap_or(0)
1130 + self
1131 .zones
1132 .iter()
1133 .flatten()
1134 .filter_map(|zone| zone.hotplugged_size)
1135 .sum::<u64>()
1136 }
1137}
1138
1139impl RateLimiterGroupConfig {

Callers 3

total_sizeMethod · 0.45
vm_infoMethod · 0.45

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected