From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3iSf-0003Yp-As for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3iSe-0003Ls-He for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:23:53 -0400 Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]:36813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3iSe-0003LU-By for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:23:52 -0400 Received: by mail-it0-x22c.google.com with SMTP id g66so10341007ite.1 for ; Thu, 27 Apr 2017 05:23:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170426170553.1d45e1d7.cornelia.huck@de.ibm.com> References: <1493211188-24086-1-git-send-email-tgnyang@gmail.com> <20170426170553.1d45e1d7.cornelia.huck@de.ibm.com> From: Zihan Yang Date: Thu, 27 Apr 2017 20:23:51 +0800 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 1/5] hw/char: remove console_exit function in sclp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: Eric Blake , qemu-devel@nongnu.org, Alexander Graf , Christian Borntraeger , Paolo Bonzini , Richard Henderson OK, sorry for the confusion, I will give a new patch series. I'm not very familiar with the conventions so I wonder if someone could help clarify some principles for me. I'd like to replace all the init/exit callback of DeviceClass to realize/unrealize, and convert return type of exit callback of some higher-level classes, like HDACodecDeviceClass, to void. My first question Is it a good idea to split these patches into two series? For example, one series to convert exit callback of these higher-level classes to void, and then the other to replace all the init/exit callback of DeviceClass to realize/unrealize. The second question is that should I always give separate patch for different directories? One example is that in both hw/ide and hw/block, I need to replace the init callback with realize in some high-level classes, should I give two patches or just give one patch for the work? Thanks