Received: from eggs.gnu.org ([2001:4830:134:3::10]:43950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vpx5X-0006tn-Ta for qemu-devel@nongnu.org; Mon, 09 Dec 2013 04:25:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vpx5R-0002n2-Gu for qemu-devel@nongnu.org; Mon, 09 Dec 2013 04:25:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vpx5R-0002ml-91 for qemu-devel@nongnu.org; Mon, 09 Dec 2013 04:25:09 -0500 From: Markus Armbruster References: <1386576358-10469-1-git-send-email-akong@redhat.com> <1386576358-10469-3-git-send-email-akong@redhat.com> Date: Mon, 09 Dec 2013 10:25:04 +0100 In-Reply-To: <1386576358-10469-3-git-send-email-akong@redhat.com> (Amos Kong's message of "Mon, 9 Dec 2013 16:05:58 +0800") Message-ID: <874n6ifkb3.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 2/2] add parsing of "strict" boot parameter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, anthony@codemonkey.ws Amos Kong writes: > Commit 6ef4716cecdfa1b3794c1a33edba9840e1aa6b5f cleaned up the > parse code of boot parameter, parse code of "strict" wasn't > re-implemented, it caused that strict boot feature is always > disabled. > > Signed-off-by: Amos Kong > --- > vl.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/vl.c b/vl.c > index 12fe1f7..ae6d0c6 100644 > --- a/vl.c > +++ b/vl.c > @@ -4074,6 +4074,7 @@ int main(int argc, char **argv, char **envp) > } > > boot_menu = qemu_opt_get_bool(opts, "menu", boot_menu); > + boot_strict = qemu_opt_get_bool(opts, "strict", false); > } > > if (!kernel_cmdline) { This restores the second half of what got dropped accidentally in commit 6ef4716. Suggest to squash the two halves together, and rephrase the commit message to more clearly mark it as bug fix. Something like this: Fix -boot strict regressed in commit 6ef4716 Commit 6ef4716 cleaned up parsing of -boot option argument, but accidentally dropped parameter strict. It should have been updated exactly like parameter menu. Do that. I apologize for the screwup. It took me 120 days to get my patch in, and I botched the final rebase's conflict resolution.