From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa62Z-00062w-VQ for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qa62W-0001qR-TW for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa62W-0001q1-9O for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:16 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5OD3FYY023423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 24 Jun 2011 09:03:15 -0400 From: Alon Levy Date: Fri, 24 Jun 2011 15:02:50 +0200 Message-Id: <1308920577-31569-6-git-send-email-alevy@redhat.com> In-Reply-To: <1308920577-31569-1-git-send-email-alevy@redhat.com> References: <1308920577-31569-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH v2] qxl: abort on panic instead of exit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: yhalperi@redhat.com, kraxel@redhat.com --- hw/qxl.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/qxl.h b/hw/qxl.h index 6dd38e6..584f02b 100644 --- a/hw/qxl.h +++ b/hw/qxl.h @@ -87,7 +87,7 @@ typedef struct PCIQXLDevice { #define PANIC_ON(x) if ((x)) { \ printf("%s: PANIC %s failed\n", __FUNCTION__, #x); \ - exit(-1); \ + abort(); \ } #define dprint(_qxl, _level, _fmt, ...) \ -- 1.7.5.4