From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIzD-0002DM-7g for qemu-devel@nongnu.org; Fri, 12 Feb 2016 14:02:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUIz9-00080B-Q4 for qemu-devel@nongnu.org; Fri, 12 Feb 2016 14:02:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIz9-000807-KY for qemu-devel@nongnu.org; Fri, 12 Feb 2016 14:02:31 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 0535CC0C7CAB for ; Fri, 12 Feb 2016 19:02:31 +0000 (UTC) From: Eduardo Habkost Date: Fri, 12 Feb 2016 17:02:23 -0200 Message-Id: <1455303747-19776-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/4] Error location reporting fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Paolo Bonzini , lersek@redhat.com, armbru@redhat.com This fixes the following bugs in error reporting: $ qemu-system-x86_64 -icount rr=x -vnc :0 qemu-system-x86_64: -vnc :0: Invalid icount rr option: x $ qemu-system-x86_64 -m size= -vnc :0 qemu-system-x86_64: -vnc :0: missing 'size' option value The last command-line option (-vnc) is being shown in the error message, instead of the -m or -icount options. This also includes a patch submitted previously by Marcel, to ensure there are no ordering conflicts when applying the patches. Marcel's patch fixes the following bug: $ qemu-system-x86_64 -M q35-1.5 -redir tcp:8022::22 qemu-system-x86_64: -redir tcp:8022::22: unsupported machine type Use -machine help to list supported machines Eduardo Habkost (3): vl: Reset location after handling command-line arguments replay: Set error location properly when parsing options vl: Set error location when parsing memory options Marcel Apfelbaum (1): vl.c: Fix regression in machine error message replay/replay.c | 10 ++++++++++ vl.c | 47 ++++++++++++++++++++++++++++++++++------------- 2 files changed, 44 insertions(+), 13 deletions(-) -- 2.1.0