Re: [libvirt] [PATCHv2] Don't allow two or more disks to be mapped to the same image file

2011-03-25 Thread Nathan Baum
On Fri, 25 Mar 2011 14:26:16 +0800 Hu Tao wrote: > On Thu, Mar 24, 2011 at 11:05:08AM +0000, Nathan Baum wrote: > > On Thu, 24 Mar 2011 16:46:14 +0800 > > Hu Tao wrote: > > > > > If two or more disks are mapped to the same image file, operating > > > on t

Re: [libvirt] [PATCHv2] Don't allow two or more disks to be mapped to the same image file

2011-03-24 Thread Nathan Baum
On Thu, 24 Mar 2011 16:46:14 +0800 Hu Tao wrote: > If two or more disks are mapped to the same image file, operating > on these disks at the same time may corrupt data stored in the > image file. > > changes: > > v2: > > - allow it for read-only disks > - compare source files by inode number >