From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v2] sysbus: add irq_routing_notifier Date: Tue, 28 Apr 2015 11:04:39 +0200 Message-ID: <553F4D27.7010306@redhat.com> References: <1429879153-23476-1-git-send-email-eric.auger@linaro.org> <553DF2AA.2070102@linaro.org> <553E11E7.7070704@redhat.com> <553E297F.4020706@linaro.org> <553E3B7E.9080009@redhat.com> <553E4E05.1010405@linaro.org> <553E4F2D.7060808@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Peter Crosthwaite Cc: eric.auger@st.com, Patch Tracking , Eric Auger , "qemu-devel@nongnu.org Developers" , Alex Williamson , "kvmarm@lists.cs.columbia.edu" List-Id: kvmarm@lists.cs.columbia.edu On 27/04/2015 19:43, Peter Crosthwaite wrote: > To reduce verbosity, I suggest making object_set_link_property() a > visible API, then RYO link setters can call it surrounded by custom > behavior e.g: > > foo_object_set_bar_property(...) > { > pre_set_link_side_effects(); > object_set_link_property(); > post_set_link_side_effects(); > } > > object_set_link_property() would need to be coreified and wrapped to > remove it's awareness of LinkProperty type (as that doesn't exist in > RYO properties) in this case. I agree with this, but I think it can be done separately from Eric's work. Paolo