[PATCH 0/3] block: Make snapshots fail gracefully on inactive images

Kevin Wolf posted 3 patches 12 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231201142520.32255-1-kwolf@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
block/snapshot.c                              |   4 +-
system/vl.c                                   |   4 +
.../tests/qcow2-internal-snapshots            | 170 ++++++++++++++++++
.../tests/qcow2-internal-snapshots.out        | 107 +++++++++++
4 files changed, 284 insertions(+), 1 deletion(-)
create mode 100755 tests/qemu-iotests/tests/qcow2-internal-snapshots
create mode 100644 tests/qemu-iotests/tests/qcow2-internal-snapshots.out
[PATCH 0/3] block: Make snapshots fail gracefully on inactive images
Posted by Kevin Wolf 12 months ago
Kevin Wolf (3):
  block: Fix crash when loading snapshot on inactive node
  vl: Improve error message for conflicting -incoming and -loadvm
  iotests: Basic tests for internal snapshots

 block/snapshot.c                              |   4 +-
 system/vl.c                                   |   4 +
 .../tests/qcow2-internal-snapshots            | 170 ++++++++++++++++++
 .../tests/qcow2-internal-snapshots.out        | 107 +++++++++++
 4 files changed, 284 insertions(+), 1 deletion(-)
 create mode 100755 tests/qemu-iotests/tests/qcow2-internal-snapshots
 create mode 100644 tests/qemu-iotests/tests/qcow2-internal-snapshots.out

-- 
2.43.0
Re: [PATCH 0/3] block: Make snapshots fail gracefully on inactive images
Posted by Michael Tokarev 11 months, 1 week ago
01.12.2023 17:25, Kevin Wolf :
> Kevin Wolf (3):
>    block: Fix crash when loading snapshot on inactive node
>    vl: Improve error message for conflicting -incoming and -loadvm
>    iotests: Basic tests for internal snapshots

This smells like a stable-8.2 material, at least the first change
(tho I'd pick all 3).  Maybe stable-8.1 too.

On the other hand, this is a rarely-used code path.

Thanks,

/mjt
Re: [PATCH 0/3] block: Make snapshots fail gracefully on inactive images
Posted by Kevin Wolf 10 months, 3 weeks ago
Am 22.12.2023 um 20:24 hat Michael Tokarev geschrieben:
> 01.12.2023 17:25, Kevin Wolf :
> > Kevin Wolf (3):
> >    block: Fix crash when loading snapshot on inactive node
> >    vl: Improve error message for conflicting -incoming and -loadvm
> >    iotests: Basic tests for internal snapshots
> 
> This smells like a stable-8.2 material, at least the first change
> (tho I'd pick all 3).  Maybe stable-8.1 too.

Yes, makes sense to me. It was a bit late for 8.2.0, but adding it to a
future stable release is reasonable.

> On the other hand, this is a rarely-used code path.

It is, but if you do hit it, it's still a crash.

Kevin