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

psafont / xen-api
79%
master: 78%

Build:
Build:
LAST BUILD BRANCH: dev/pau/vm-revert-master
DEFAULT BRANCH: master
Repo Added 27 Jun 2024 08:54AM UTC
Token 44F0QJAdTSzQb3VEzs9g3bFwpAisMNkCd regen
Build 809 Last
Files 36
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

LAST BUILD ON BRANCH dev/pau/vm-revert-master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 52
  • bump
  • certdocs
  • ci
  • cifix
  • codecov-fallback
  • copam
  • deb/pau/important-backtraces-8
  • dev/pau-vdi-revert-alpha
  • dev/pau/53
  • dev/pau/541
  • dev/pau/bye-yangtze
  • dev/pau/cmdliner
  • dev/pau/cross-pool-fix
  • dev/pau/errors-ha
  • dev/pau/errors-ha-master
  • dev/pau/format
  • dev/pau/ha_errs
  • dev/pau/haxn
  • dev/pau/host-ipv6
  • dev/pau/important-backtraces
  • dev/pau/ipv6-autoconf
  • dev/pau/ipv6-autoconf-backport
  • dev/pau/listless
  • dev/pau/majmin
  • dev/pau/migracap
  • dev/pau/no-exns
  • dev/pau/nocov
  • dev/pau/ocaml54
  • dev/pau/oformat.28.1
  • dev/pau/opam
  • dev/pau/opam-metadata
  • dev/pau/prepof28.1
  • dev/pau/quality
  • dev/pau/random-fixes
  • dev/pau/release-8.3
  • dev/pau/revert-cds
  • dev/pau/revlog
  • dev/pau/revlog-9
  • dev/pau/schemabump
  • dev/pau/smplugins
  • dev/pau/smplugins-9
  • dev/pau/snaptags
  • dev/pau/sr-description
  • dev/pau/sr-description-83
  • dev/pau/sr-suspend
  • dev/pau/stringless
  • dev/pau/strings
  • dev/pau/stunnel
  • dev/pau/system-status
  • dev/pau/tweaks
  • dev/pau/vdi-revert
  • dev/pau/vdi-revert-alpha
  • dev/pau/vdi-revert-doc
  • dev/pau/version
  • dev/pau/vm-revert-master
  • dev/pau/zerotest
  • dev/paus/delays
  • dev/paus/platformdata
  • dev/psafont/arg
  • dev/psafont/arm64
  • dev/psafont/dcmi
  • dev/psafont/format
  • dev/psafont/makemake
  • dev/psafont/onlink
  • dev/psafont/python
  • dev/psafont/ssh-design
  • dev/vdi-revert-prepare
  • dev/vdi-revert-prepare-9
  • dune-mswitch
  • dune-vhd-tool
  • endcover
  • feature/perf-edvint
  • fix-pkgs
  • fixes-next
  • forkexec+
  • forktests
  • getallwhere
  • ghperms
  • gtn-check-all-changes-during-sr-scan
  • hold
  • info
  • instafix
  • last_async
  • late-licenses
  • logconn
  • makemake
  • master
  • meta
  • metacap
  • no-async
  • nosystemd
  • nowarns
  • nuuid
  • omore
  • packs
  • parops
  • pau/dev/cross-pool-fix
  • pkg-fix
  • private/mingl/CP-44103
  • private/paus/accept-rrd
  • private/paus/async-mig
  • private/paus/async_mig
  • private/paus/bashcheck
  • private/paus/console_api
  • private/paus/datasource-confusion
  • private/paus/dev/setup
  • private/paus/dns
  • private/paus/dopon
  • private/paus/duneless-release
  • private/paus/fingers-crossed
  • private/paus/forktime
  • private/paus/gencertg
  • private/paus/grandates
  • private/paus/hold-name-label
  • private/paus/ign
  • private/paus/ipmissing
  • private/paus/ipv6
  • private/paus/ipv6-hack
  • private/paus/its-about-mtime
  • private/paus/late-socket
  • private/paus/logs
  • private/paus/logsig
  • private/paus/minions
  • private/paus/netconf
  • private/paus/new-crypto
  • private/paus/new-numa
  • private/paus/nopes
  • private/paus/numa
  • private/paus/numa-claim
  • private/paus/numa-default
  • private/paus/numa-hard-feature
  • private/paus/numa-mem-metrics
  • private/paus/numa-share
  • private/paus/numa-xs8
  • private/paus/numaybe
  • private/paus/numnummaybe
  • private/paus/one-unlock
  • private/paus/op-ehm
  • private/paus/order_some_plugs
  • private/paus/osandbox
  • private/paus/paraxenopers
  • private/paus/parops
  • private/paus/parsed-pems
  • private/paus/paused-metrics
  • private/paus/pdates
  • private/paus/perfuffle
  • private/paus/pimpampem
  • private/paus/pre-numa
  • private/paus/pvhterm
  • private/paus/random-fixes
  • private/paus/scrub
  • private/paus/sd_notify
  • private/paus/smint
  • private/paus/stdless
  • private/paus/storage-errors
  • private/paus/stringy-crypto
  • private/paus/tears-in-the-rain
  • private/paus/timesout
  • private/paus/undate
  • private/paus/unknown-error
  • private/paus/upup
  • private/paus/validation
  • private/paus/vhd-cleanup
  • private/paus/xenops-long-waits
  • private/paus/xpool
  • private/paus/xs-up
  • qcheck-core
  • qgate
  • release-acquire
  • rrd-unpack
  • runs
  • sad-dco
  • scheduled-yangtze
  • stressdune
  • strip_xfm
  • test-new-setup
  • tests
  • trunc_claims
  • tryshut
  • unit-test
  • unzurich
  • up
  • utop
  • v25.1.0
  • v25.10.0
  • v25.11.0
  • v25.12.0
  • v25.13.0
  • v25.14.0
  • v25.15.0
  • v25.16.0
  • v25.17.0
  • v25.18.0
  • v25.19.0
  • v26.1.3-8.3
  • xen_types

17 Jun 2026 03:30PM UTC coverage: 78.996%. First build
27700450187

push

github

psafont
xapi_vm_snapshot: do not leak CD VBDs

Because all the snapshot's CD VBDs are cloned in all cases, the reverted
VM's CD VBDs must be destroyed in all cases, add them unconditionally to
the VBDs being destroyed.

Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
(cherry picked from commit 20e8b3bb5)

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Relevant lines Covered
Build:
Build:
4642 RELEVANT LINES 3667 COVERED LINES
0.79 HITS PER LINE
Source Files on master
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27700450187 dev/pau/vm-revert-master xapi_vm_snapshot: do not leak CD VBDs Because all the snapshot's CD VBDs are cloned in all cases, the reverted VM's CD VBDs must be destroyed in all cases, add them unconditionally to the VBDs being destroyed. Signed-off-by: Pau Ruiz Safont <pau... push 17 Jun 2026 03:31PM UTC psafont github
79.0
27699584155 dev/pau/revert-cds xapi_vm_snapshot: do not leak CD VBDs Because all the snapshot's CD VBDs are cloned in all cases, the reverted VM's CD VBDs must be destroyed in all cases, add them unconditionally to the VBDs being destroyed. Signed-off-by: Pau Ruiz Safont <pau... push 17 Jun 2026 03:18PM UTC psafont github
80.46
27679840683 dev/pau/vm-revert-master cherry-pick fixes from better VM revert This needed a fix for the datamodel_lifecycle and the datamodel hash The minor schema version does not need to be changed since it was already bumped in the corresponding cherry-pick that bumped it. I elec... push 17 Jun 2026 09:39AM UTC psafont github
79.0
27555309778 dev/pau/vdi-revert xapi_vm_snapshot: Fail VM.revert when a VDI.revert actually fails In case where there's an error while reverting on the Storage Backend, the state of the SR might become unstable, and a recovery using the clone method for reverting might introduc... push 15 Jun 2026 02:59PM UTC psafont github
80.46
27417970453 dev/pau/vdi-revert xapi_vm_snapshot: Fail VM.revert when a VDI.revert actually fails In case where there's an error while reverting on the Storage Backend, the state of the SR might become unstable, and a recovery using the clone method for reverting might introduc... push 12 Jun 2026 01:15PM UTC psafont github
80.46
27414318554 dev/pau/vdi-revert xapi_vm_snapshot: Fail VM.revert when a VDI.revert actually fails In case of a Storage Backend failure, the state of the SR might be unknown, and a recovery using the clone method for reverting might introduce bigger issues. Instead stop the reve... push 12 Jun 2026 12:01PM UTC psafont github
80.46
27337479421 dev/pau/vdi-revert xapi_vm_snapshot: change VM.revert to use VDI.revert The code now tries to call VDI.revert on all the disk VDIs, and if that fails, it falls back to the original revert method that destroys VM disks, clones snapshot disks and then fixes up metada... push 11 Jun 2026 09:32AM UTC psafont github
80.46
27023688715 dev/pau/vdi-revert xapi_vm_snapshot: change VM.revert to use VDI.revert The code now tries to call VDI.revert on all the disk VDIs, and if that fails, it falls back to the original revert method that destroys VM disks, clones snapshot disks and then fixes up metada... push 05 Jun 2026 03:24PM UTC psafont github
80.46
27022811330 dev/pau/vdi-revert xapi_vm_snapshot: change VM.revert to use VDI.revert The code now tries to call VDI.revert on all the disk VDIs, and if that fails, it falls back to the original revert method that destroys VM disks, clones snapshot disks and then fixes up metada... push 05 Jun 2026 03:06PM UTC psafont github
80.46
27019361523 dev/pau/vdi-revert xapi_vm_snapshot: change VM.revert to use VDI.revert The code now tries to call VDI.revert on all the disk VDIs, and if that fails, it falls back to the original revert method that destroys VM disks, clones snapshot disks and then fixes up metada... push 05 Jun 2026 02:01PM UTC psafont github
80.46
See All Builds (706)

Badge your Repo: xen-api

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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