action #35407
closedaction #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
0%
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.
Updated by rpalethorpe over 6 years ago
Can now save and load the state to/from json. So can now reimplement SKIPTO.
Updated by rpalethorpe over 6 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'...
Updated by rpalethorpe over 6 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.