On Wed, Dec 05, 2012 at 18:54:42 +0800, Osier Yang wrote: ... > > However, the mainly reason I choosed to use a sub-list of domain names > > is for future extenstion, I.E. Assuming there are other disk setting > > (you never known how many they will be), we have to guarantee they are > > same among guests in future. Looking up the disk def with domain and > > disk path gives us much flexibility IMHO. > > > > So the point of the argument is: the trade between the flexibility and > the uncomfortable locks. OK, I guess we can store more info in the sharedDisks list (either today or later when we need it), we may even store the domain list there, but we don't definitely want to go through all the domains to get the required details. Jirka -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list