summaryrefslogtreecommitdiffstats
path: root/kernel/xloop_file_fmt_qcow_cluster.h
diff options
context:
space:
mode:
authorManuel Bentele2020-10-07 11:01:56 +0200
committerManuel Bentele2020-10-07 11:01:56 +0200
commite19fe3beba17c3b85c4d776deaa7834565d51490 (patch)
tree88eea1ad0e5dc5b1a2254a3f459fa9b461b80662 /kernel/xloop_file_fmt_qcow_cluster.h
parentAdded RPM package creation and moved to relative CMake installation paths (diff)
downloadxloop-e19fe3beba17c3b85c4d776deaa7834565d51490.tar.gz
xloop-e19fe3beba17c3b85c4d776deaa7834565d51490.tar.xz
xloop-e19fe3beba17c3b85c4d776deaa7834565d51490.zip
Updated QCOW file format driver with upstream patches
Ported recent upstream patches from QEMU's qcow2 file format to xloop's QCOW file format driver. The following changes had been made to the QCOW file format driver: - support to read extended L2 has been added - added decompression interface to support various compression types - implemented the ZSTD compression type for QCOW images
Diffstat (limited to 'kernel/xloop_file_fmt_qcow_cluster.h')
-rw-r--r--kernel/xloop_file_fmt_qcow_cluster.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/xloop_file_fmt_qcow_cluster.h b/kernel/xloop_file_fmt_qcow_cluster.h
index ff3e0a1..a3716f5 100644
--- a/kernel/xloop_file_fmt_qcow_cluster.h
+++ b/kernel/xloop_file_fmt_qcow_cluster.h
@@ -15,9 +15,8 @@
#include "xloop_file_fmt.h"
-extern int xloop_file_fmt_qcow_cluster_get_offset(struct xloop_file_fmt *xlo_fmt,
- u64 offset,
- unsigned int *bytes,
- u64 *cluster_offset);
+extern int xloop_file_fmt_qcow_get_host_offset(struct xloop_file_fmt *xlo_fmt,
+ u64 offset, unsigned int *bytes, u64 *host_offset,
+ enum xloop_file_fmt_qcow_subcluster_type *subcluster_type);
#endif