Skip to content

Commit

Permalink
Add getDefaultPreallocationSizeVirt in qcow2util
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Thenot <damien.thenot@vates.tech>
  • Loading branch information
Nambrok committed Jan 23, 2025
1 parent e53601c commit 42e0829
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/qcow2util.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@ def getBlockSize(self, path: str) -> int:
def getFooterSize(self, path: str) -> int:
return 0

@override
def getDefaultPreallocationSizeVirt(self) -> int:
return 0

@override
def getMaxChainLength(self) -> int:
return MAX_QCOW_CHAIN_LENGTH
Expand Down

0 comments on commit 42e0829

Please sign in to comment.