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

Method resize

block/src/vhdx_sync.rs:80–86  ·  view source on GitHub ↗
(&mut self, _size: u64)

Source from the content-addressed store, hash-verified

78
79impl disk_file::Resizable for VhdxDiskSync {
80 fn resize(&mut self, _size: u64) -> BlockResult<()> {
81 Err(BlockError::new(
82 BlockErrorKind::UnsupportedFeature,
83 DiskFileError::ResizeError(std::io::Error::other("resize not supported for VHDX")),
84 )
85 .with_op(ErrorOp::Resize))
86 }
87}
88
89impl disk_file::DiskFile for VhdxDiskSync {}

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
with_opMethod · 0.80

Tested by

no test coverage detected