From patchwork Thu Sep 5 18:27:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 272927 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 326F92C00ED for ; Fri, 6 Sep 2013 04:28:27 +1000 (EST) Received: from localhost ([::1]:33179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHeI4-0007qB-Md for incoming@patchwork.ozlabs.org; Thu, 05 Sep 2013 14:28:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHeHX-0007pg-N7 for qemu-devel@nongnu.org; Thu, 05 Sep 2013 14:27:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHeHR-0004W1-JU for qemu-devel@nongnu.org; Thu, 05 Sep 2013 14:27:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHeHR-0004Tc-BV for qemu-devel@nongnu.org; Thu, 05 Sep 2013 14:27:45 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r85IRhGG003874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Sep 2013 14:27:43 -0400 Received: from localhost (ovpn-113-39.phx2.redhat.com [10.3.113.39]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r85IRfXI023637; Thu, 5 Sep 2013 14:27:42 -0400 From: Amit Shah To: Anthony Liguori Date: Thu, 5 Sep 2013 23:57:33 +0530 Message-Id: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Amit Shah , Paolo Bonzini , qemu list , Gerd Hoffmann Subject: [Qemu-devel] [PULL] char: fix segfault on chardev detach X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hi Anthony, Please pull to receive a fix for a segfault in the char layer. The patches have been on the list for a week, and Gerd has reviewed them. (I'm overloading the virtio-serial git tree for this series, haven't gotten around to setting up a separate tree for char yet.) The following changes since commit aaa6a40194e9f204cb853f64ef3c1e170bb014e8: Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging (2013-09-03 12:33:32 -0500) are available in the git repository at: git://git.kernel.org/virt/qemu/amit/virtio-serial.git char-remove-watch-on-unplug for you to fetch changes up to 386a5a1e0057e220f79c48fe3689e3dfb17f1b09: char: remove watch callback on chardev detach from frontend (2013-09-05 18:30:36 +0530) Amit Shah (3): char: move backends' io watch tag to CharDriverState char: use common function to disable callbacks on chardev close char: remove watch callback on chardev detach from frontend include/sysemu/char.h | 1 + qemu-char.c | 82 +++++++++++++++++++-------------------------------- 2 files changed, 32 insertions(+), 51 deletions(-)