From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7ubw-0004Xz-7I for qemu-devel@nongnu.org; Sat, 01 Sep 2012 16:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7ubv-0000p5-En for qemu-devel@nongnu.org; Sat, 01 Sep 2012 16:48:08 -0400 From: Don Slutz Date: Sat, 1 Sep 2012 16:47:50 -0400 Message-ID: <1346532470-15859-1-git-send-email-Don@CloudSwitch.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH] target-i386: Report on error during cpu_x86_register(). List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.orgqemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Don Slutz Send it to stderr before free of the details. Signed-off-by: Don Slutz --- target-i386/cpu.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 57c064f..5c0fef1 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -1352,6 +1352,7 @@ int cpu_x86_register(X86CPU *cpu, const char *cpu_model) } object_property_set_str(OBJECT(cpu), def->model_id, "model-id", &error); if (error_is_set(&error)) { + fprintf(stderr, "%s: %s\n", __FUNCTION__, error_get_pretty(error)); error_free(error); return -1; } -- 1.7.1