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

xapi-project / xen-api / 27762057053
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 26.1-lcm
DEFAULT BRANCH: master
Ran 18 Jun 2026 01:16PM UTC
Jobs 1
Files 36
Run time 1min
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

18 Jun 2026 01:14PM UTC coverage: 78.996%. Remained the same
27762057053

push

github

web-flow
Implement Better VM revert using VDI revert (#7132)

This PR contains the changes needed to implement the proposal shown in
https://github.com/xapi-project/xen-api/blob/master/doc/content/design/snapshot-revert.md

Please note that the storage backends need to implement VDI_REVERT in
order to benefit from this change.

The fallback logic to the previous method complicates the implementation
quite a bit, although it's made a bit more manageable using sets.
The complexity comes from the current infrastructure to clone and
delete, which mixes VBDs and VDIs, and that two VMs are related: the
'live' or 'destination' VM and the snapshot VM.

Note that only disks are affected by the change, and both CDs and
suspend VDIs are treated the same way as before.

There's one change in user-visible behaviour: now the UUID of the VDIs
do not change when reverting if VDI.revert is used.

This PR is a port to master of
https://github.com/xapi-project/xen-api/pull/7116

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 27762057053.1 18 Jun 2026 01:15PM UTC 36
79.0
GitHub Action Run
Source Files on build 27762057053
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27762057053
  • 362b9921 on github
  • Prev Build on gh-readonly-queue/master/pr-7120-c731400433c41bec7926a49137bc4b3d553dd740 (#27661547053)
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