action #35407

action #30649: [tools][openqa] Improve performance by using migrations and external snapshots

action #32968: [kernel][tools] Refactor QEMU backend - Create QEMU process manager and save configuration state

[kernel][tools] QEMU Refactor - Serialise state and reimplement SKIPTO

Added by rpalethorpe almost 2 years ago. Updated over 1 year ago.

Status:ResolvedStart date:24/04/2018
Priority:NormalDue date:
Assignee:rpalethorpe% Done:

0%

Category:-
Target version:Done
Difficulty:
Duration:

Description

Save and load the device (in particular block device) state for the purposes of debuging and the SKIPTO feature which requires the available drives and snapshots to be known.

History

#1 Updated by rpalethorpe almost 2 years ago

Can now save and load the state to/from json. So can now reimplement SKIPTO.

#2 Updated by rpalethorpe almost 2 years ago

Found a bug in qemu-img which effects chained backing file paths more than one level deep. Work around is (probably) to avoid using relative paths with any directories in, which is a bit tricky as chdir is dangerous. So will probably have to do it in a separate process.

Also I ran into a bug in Perl where it did not recognize 'unlink'...

#3 Updated by rpalethorpe almost 2 years ago

  • Status changed from In Progress to Resolved

This now works, seemingly better than with the current HEAD where SKIPTO with MAKESNAPSHOTS seems to be broken (it can't find the snapshots except for lastgood). However I have found a bug with switching to the installation console which is unrelated to this.

#4 Updated by sebchlad over 1 year ago

  • Target version changed from 448 to Current Sprint - kernel

#5 Updated by sebchlad over 1 year ago

  • Target version changed from Current Sprint - kernel to Done

Also available in: Atom PDF