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

mirage / ocaml-qcow / 16 / 1
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2015 12:08PM UTC
Files 7
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

09 Nov 2015 11:43AM UTC coverage: 80.139% (-0.5%) from 80.605%
16.1

Pull #7

travis-ci

djs55
Cope with files which are not whole numbers of clusters

`qemu-img` seems to "allocate" the final cluster in a file by writing
a single sector only. Cope with this by:

- on every `read`, check if we're in this last-cluster situation and
  synthesize zeroes for missing sectors
- on `connect`, round up to the next cluster size when setting the
  `next_cluster` pointer.

With this patch, a `qemu-img` generated .qcow2 seems to work ok with
this code as measured by the CLI `check` subcommand.

Signed-off-by: David Scott <dave.scott@unikernel.com>
Pull Request #7: Cope with files which are not whole numbers of clusters

460 of 574 relevant lines covered (80.14%)

3797845.18 hits per line

Source Files on job 16.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16
  • Travis Job 16.1
  • 2fe7e78c on github
  • Prev Job for on master (#15.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