Skip to content

Commit 10fc269

Browse files
committed
fix(qcow2util): read clusters with kill data
Reading allocation table is needed for kill data to run Signed-off-by: Damien Thenot <damien.thenot@vates.tech>
1 parent b26580b commit 10fc269

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/qcow2util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ def killData(self, path: str) -> None:
680680
Returns:
681681
nothing.
682682
"""
683-
self._read_qcow2(path)
683+
self._read_qcow2(path, read_clusters=True)
684684
# We need to reset L1 entries and then just truncate the file right
685685
# after L1 entries
686686
with open(self.filename, "r+b") as file:

0 commit comments

Comments
 (0)