Files
xemu/block
Max Reitz c8af87573f block/snapshot: Fix fallback
If the top node's driver does not provide snapshot functionality and we
want to fall back to a node down the chain, we need to snapshot all
non-COW children.  For simplicity's sake, just do not fall back if there
is more than one such child.  Furthermore, we really only can fall back
to bs->file and bs->backing, because bdrv_snapshot_goto() has to modify
the child link (notably, set it to NULL).

Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
2020-09-07 12:31:31 +02:00
..
2020-08-21 06:30:18 -04:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
…
…
2020-05-18 19:05:25 +02:00
…
2020-09-07 12:31:31 +02:00
2020-09-01 01:51:51 -04:00
…
2020-09-07 12:31:30 +02:00
2020-07-14 15:18:59 +02:00
2020-07-06 10:34:14 +02:00
2020-09-07 12:31:31 +02:00
2020-09-07 12:31:31 +02:00
2020-09-07 12:31:31 +02:00
…
2020-09-07 12:31:31 +02:00