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

xapi-project / xen-api / 27678098980
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 26.1-lcm
DEFAULT BRANCH: master
Ran 17 Jun 2026 09:07AM UTC
Jobs 1
Files 34
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

17 Jun 2026 08:55AM UTC coverage: 80.459%. Remained the same
27678098980

push

github

web-flow
Implement Better VM revert using VDI revert (26.1-lcm) (#7116)

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 stacked on top of
https://github.com/xapi-project/xen-api/pull/7103

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 27678098980.1 17 Jun 2026 09:07AM UTC 34
80.46
GitHub Action Run
Source Files on build 27678098980
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27678098980
  • caff9637 on github
  • Prev Build on 26.1-lcm (#27336895483)
  • Next Build on 26.1-lcm (#27759782250)
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