• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 20050970249 / 1
80%
master: 80%

Build:
DEFAULT BRANCH: master
Ran 09 Dec 2025 03:36AM UTC
Files 34
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Dec 2025 09:02AM UTC coverage: 80.459%. Remained the same
20050970249.1

push

github

web-flow
qcow: Only process allocated clusters on export from raw (#6769)

Implements an optimization similar to the "hybrid" mode in `vhd-tool`:
when exporting to qcow from raw, if the VDI is backed by a QCOW file,
read its header, determine the allocated clusters, and only export
these. This allows skipping over zero clusters in a sparse disk.

Unlike `vhd-tool`, however, this is implemented in a modular way -
`qcow-stream-tool` gets a new `read_headers` command that outputs the
list of allocated clusters (and other info) in JSON format, which allows
it to be consumed by the Python `qcow-to-stdout` script (and by
`vhd-tool` in future stages of this work, see below).

This is the first step of improving handling of sparse VDIs in xapi.
I've got the rest working, but I'll be opening PRs step-by-step for the
following once this PR gets merged:
1. `vhd-tool` gets a `read_headers` command outputting list of allocated
blocks as well
2. `stream_vdi` uses `read_headers` for both VHD and QCOW to avoid
reading zero blocks on XVA export (greatly speeds up handling of sparse
disks and avoids issues with timeouts)
3. `vhd-tool` and `qcow-to-stdout` can read headers of the opposite
format, allowing faster export of sparse VDIs backed by a different
format.

Best reviewed by commit.

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Source Files on job python3.11 - 20050970249.1
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20050970249
  • 3387a723 on github
  • Prev Job for on master (#19982150602.1)
  • Next Job for on master (#20086455681.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc