Il 31/07/2012 17:15, Anthony Liguori ha scritto: > Andreas Färber writes: > >> Am 31.07.2012 16:50, schrieb Paolo Bonzini: >>> Il 31/07/2012 16:46, Andreas Färber ha scritto: >>>>>> Why would megasas be in master but not compiled/linked? >>>>> Because Anthony objected to how it picks the initiator WWN. >>>> Ah, anything keeping us from fixing that? :) >>> >>> Exact knowledge of the requirements, basically. :) >> >> I.e. waiting on feedback about numeric constraints from Hannes? :) >> Or waiting on general direction from Anthony? >> How to make progress there for 1.2 / Soft Freeze? > > You cannot build guest visible state by casting pointers. > > I'm really disappointed that this hasn't been resolved yet. If it's not > resolved before the soft freeze, I think we ought to revert the megasas > patches completely. Hannes, can you give a quick yes/no on the approach of the attached patch? The address of the HBA is given by a wwn property or, in the lack of one, by an increasing index similar to the one used for MAC addresses. The address of the disks is also given by a wwn property or, in the lack of one, by combining the HBA address with the target number. Paolo