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

2011-03-24 Thread Hu Tao
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. --- src/conf/domain_conf.c | 22 ++ src/conf/domain_conf.h |2 ++ src/libvirt_private.syms |1 + src/qemu/qemu_driver.c

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

2011-03-24 Thread Wen Congyang
At 03/24/2011 03:02 PM, Hu Tao Write: 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. If two disks are mapped to the same image and these two disks are read only, operating on these two disks at the