Project

General

Profile

action #90347

Support for downloading snapshots

Added by pvorel 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2021-03-19
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:

Description

According to rpalethorpe (the author of the big QEMU rewrite, merged as #985) including snapshots inside the qcow2 image is only semi supported (libvirt does not use this feature so it is barely supported). Thus everybody uses overlay files instead. That's why he rolled our own snapshotting solution using backing files/overlays (otherwise doing basic things like reverting to a snapshot uses wierd code nobody supports).

The implementation saves overlay files in vm-snapshots directory (in pool directory) and qemu_state.json describes the snapshots. We need to allow user to download these files. I suggest to introduce new variable SAVE_SNAPSHOTS which would be by default off.

History

#1 Updated by pvorel 9 months ago

  • Description updated (diff)

#2 Updated by pvorel 9 months ago

  • Description updated (diff)

#3 Updated by rpalethorpe 9 months ago

I'm not sure if we already had a ticket for this. But anyway, yes we could tar up the qemu_state.json, qcow2 images and ram images. This may be a lot more work than it seems though. The QEMU state doesn't include all the OpenQA state.

#4 Updated by okurz 9 months ago

  • Priority changed from Normal to Low
  • Target version set to future

thanks for the ticket. Hopefully the "just tar it up" could be easily done eventually :)

Also available in: Atom PDF