On Fri, 06/30 12:41, Paolo Bonzini wrote: > > > On 29/06/2017 13:14, Igor Mammedov wrote: > > link's check callback is supposed to verify/permit setting it, > > however currently nothing restricts it from misusing it > > and modifying target object from within. > > Make sure that readonly semantics are checked by compiler > > to prevent callback's misuse. > > > > Signed-off-by: Igor Mammedov <imamm...@redhat.com> > > --- > > Fam, > > it probably conflicts with yours DEFINE_PROP_LINK series, > > feel free to include this patch if you'll have to respin > > Since there will be a respin, I'm _not_ queuing this patch.
I am going to include this in my next version of DEFINE_PROP_LINK series. Fam