Received: from eggs.gnu.org ([2001:4830:134:3::10]:55740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y21Kl-0002rR-1C for qemu-devel@nongnu.org; Fri, 19 Dec 2014 12:27:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y21Kg-00061G-6S for qemu-devel@nongnu.org; Fri, 19 Dec 2014 12:27:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y21Kf-000616-V4 for qemu-devel@nongnu.org; Fri, 19 Dec 2014 12:27:18 -0500 From: Markus Armbruster References: <1418813672-14768-1-git-send-email-arei.gonglei@huawei.com> Date: Fri, 19 Dec 2014 18:27:09 +0100 In-Reply-To: <1418813672-14768-1-git-send-email-arei.gonglei@huawei.com> (arei gonglei's message of "Wed, 17 Dec 2014 18:54:27 +0800") Message-ID: <87sigbv9ci.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 0/5] bootdevice: Refactor and improvement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: arei.gonglei@huawei.com Cc: peter.maydell@linaro.org, peter.huangpeng@huawei.com, pbonzini@redhat.com, qemu-devel@nongnu.org, mst@redhat.com writes: > From: Gonglei > > Changes of v2: > Thanks to Peter's report and suggestion. > - fix 'make check' complaint. > - fix inapposite using &error_abort in patch 5. > > Because of Peter's review comments in a pull request, I start a new > round review about this patch series v2. Please review, Thanks. > > Patch 1 just move boot order related code to bootdevice.c. > Patch 2,3,5 add an argument to corresponding functions. > This way, we can propagate the error messages to the caller. > Maybe somebody will say we will remove the legacy boot order > in the future, instead of using bootindex. But at present, > for PPC, the have no way support bootindex, ARM on the flight > (Laszlo Ersek) as far as know. > > After this work, we can easily to add QMP command for existing > HMP command 'boot_set' if we have a requirement. I don't understand why you move declarations to sysemu.h, and I had a few remarks here and there. But I couldn't see anything wrong, so: Series Reviewed-by: Markus Armbruster