Re: [PATCH v9 09/11] migration: introduce a delete_snapshot wrapper

2021-01-20 Thread Eric Blake
On 1/20/21 4:44 AM, Daniel P. Berrangé wrote: > Make snapshot deletion consistent with the snapshot save > and load commands by using a wrapper around the blockdev > layer. The main difference is that we get upfront validation > of the passed in device list (if any). > > Signed-off-by: Daniel P. B

[PATCH v9 09/11] migration: introduce a delete_snapshot wrapper

2021-01-20 Thread Daniel P . Berrangé
Make snapshot deletion consistent with the snapshot save and load commands by using a wrapper around the blockdev layer. The main difference is that we get upfront validation of the passed in device list (if any). Signed-off-by: Daniel P. Berrangé --- include/migration/snapshot.h | 13 ++