Score:0

Modifying parent snapshot in QCOW2 internal snapshots tree

cn flag


Faced one problem and cannot find any info on the net

Let's say I have several snapshots on my VM running on .qcow2 image.

For example, it has next tree:

# virsh snapshot-list my_vm --tree
clean
  |
  +- basic
  |   |
  |   +- project_deps
  |
  +- noproxy
      |
      +- project_deps-noproxy

Where:

  • clean - freshly installed OS with updates
  • basic - clean + qemu_guest_agent + cntlm
  • project_deps - basic + project dependencies
  • noproxy - clean + qemu_guest_agent
  • project_deps-noproxy - noproxy + project dependencies

At the moment everything is just fine but one day some packages on clean snapshot will become outdated and I'll have to update it. So there is the problem. As I see, there is no option to kinda rebase snapshots on "updated clean" snapshot. I tried creating it and replacing parent snapshot in children .xml's and as expected - no result.

Sadly, I cannot use external snapshots even considering that they have requested functionality

I am glad to see any ideas on coping with that.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.