Hi, Could you please have a look at this patch ? We really need it, and I think that almost user need it too. It ensure that a disk is assigned only once to one vm (wich means never two times or more the same disk for a single vm). This became usefull when the number of message in qpidd increase.
Thanks, Le lundi 16 novembre 2009 15:39:37 Michel Loiseleur, vous avez écrit : > Hi, > > Just to point you this patch, which is quite important and not ACK at > the moment. > > Thanks, > > Loiseleur Michel a écrit : > > Signed-off-by: Loiseleur Michel <[email protected]> > > --- > > app/models/vm.rb | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/app/models/vm.rb b/app/models/vm.rb > > index 88e0aef..0be3f89 100644 > > --- a/app/models/vm.rb > > +++ b/app/models/vm.rb > > @@ -27,7 +27,7 @@ class Vm < ActiveRecord::Base > > find(:all, :conditions=>{:state=>Task::STATE_QUEUED}) > > end > > end > > - has_and_belongs_to_many :storage_volumes > > + has_and_belongs_to_many :storage_volumes, :uniq => true > > > > has_many :nics, :dependent => :destroy > -- Pierre-Gilles Mialon Responsable hébergement :: Head of Hosting services [email protected] :: +33.1 58 18 65 46 Linagora :: http://www.linagora.com 27 rue de Berri :: 75008 PARIS
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Ovirt-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/ovirt-devel
