Received: from eggs.gnu.org ([2001:4830:134:3::10]:39625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW9Fm-0000Av-IZ for qemu-devel@nongnu.org; Wed, 17 Feb 2016 16:03:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW9Fj-0004rr-AE for qemu-devel@nongnu.org; Wed, 17 Feb 2016 16:03:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW9Fj-0004rh-4Z for qemu-devel@nongnu.org; Wed, 17 Feb 2016 16:03:15 -0500 Date: Wed, 17 Feb 2016 19:03:12 -0200 From: Eduardo Habkost Message-ID: <20160217210312.GF10796@thinpad.lan.raisama.net> References: <1455656347-29033-1-git-send-email-ehabkost@redhat.com> <1455656347-29033-3-git-send-email-ehabkost@redhat.com> <20160217124313.15241a4a.cornelia.huck@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160217124313.15241a4a.cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] [PATCH 2/4] s390x/css: Allocate channel_subsys statically List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: Christian Borntraeger , Alexander Graf , Richard Henderson , qemu-devel@nongnu.org, Marcel Apfelbaum On Wed, Feb 17, 2016 at 12:43:13PM +0100, Cornelia Huck wrote: > On Tue, 16 Feb 2016 18:59:05 -0200 > Eduardo Habkost wrote: > > > There's no need to use g_malloc0() to allocate the channel_subsys > > struct, just use a static variable. > > The original intention was to model that dynamically somehow, but I > don't see that happening anytime soon, so we can just keep it simple. > > > > > Cc: Cornelia Huck > > Cc: Christian Borntraeger > > Cc: Richard Henderson > > Cc: Alexander Graf > > Signed-off-by: Eduardo Habkost > > --- > > hw/s390x/css.c | 177 ++++++++++++++++++++++++++++----------------------------- > > 1 file changed, 88 insertions(+), 89 deletions(-) > > Seems fine. > > Should this go through the s390x tree, or will it go through another > tree together with the other patches? In any case, have a > > Reviewed-by: Cornelia Huck Thanks! I was planning to merge it through the (to be created) machine-core tree. But it may take some days until I can do that, so feel free to merge patches 2-3 through the s390x tree if you want to. -- Eduardo