[libvirt] [PATCH 4/4] conf: snapshot: Avoid autogenerating duplicate snapshot names

Erik Skultety eskultet at redhat.com
Thu Feb 11 14:24:42 UTC 2016



On 11/02/16 10:20, Peter Krempa wrote:
> The snapshot name generator truncates the original file name after a '.'
> and replaces the suffix with the snapshot name. If two disks source
> images differ only in the suffix portion, the generated name will be
> duplicate.
> 
> Since this is a corner case just error out stating that a duplicate name
> was generated. The user can work around this situation by providing
> the file names explicitly.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1283085
> ---
>  src/conf/snapshot_conf.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
...

ACK

Erik




More information about the libvir-list mailing list