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

2016-02-11 Thread Peter Krempa
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

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

2016-02-11 Thread Peter Krempa
On Thu, Feb 11, 2016 at 15:24:42 +0100, Erik Skultety wrote: > 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,

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

2016-02-11 Thread Erik Skultety
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