From patchwork Sun Mar 24 12:39:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 230447 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B5FD02C007B for ; Sun, 24 Mar 2013 23:40:26 +1100 (EST) Received: from localhost ([::1]:53033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJkDp-0005ZJ-0h for incoming@patchwork.ozlabs.org; Sun, 24 Mar 2013 08:40:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJkAD-0007sX-HT for qemu-devel@nongnu.org; Sun, 24 Mar 2013 08:36:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJkAC-0000N8-Ix for qemu-devel@nongnu.org; Sun, 24 Mar 2013 08:36:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJkAC-0000My-BI for qemu-devel@nongnu.org; Sun, 24 Mar 2013 08:36:40 -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 r2OCadDm027185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 24 Mar 2013 08:36:39 -0400 Received: from shalem.localdomain.com (vpn1-5-143.ams2.redhat.com [10.36.5.143]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r2OCaRiL014234; Sun, 24 Mar 2013 08:36:38 -0400 From: Hans de Goede To: qemu-devel@nongnu.org Date: Sun, 24 Mar 2013 13:39:53 +0100 Message-Id: <1364128793-12689-9-git-send-email-hdegoede@redhat.com> In-Reply-To: <1364128793-12689-1-git-send-email-hdegoede@redhat.com> References: <1364128793-12689-1-git-send-email-hdegoede@redhat.com> 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 , Hans de Goede Subject: [Qemu-devel] [PATCH 8/8] spice-qemu-char: Drop hackish vmc_register on spice_chr_write 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 Now that the core takes care of fe_open tracking we no longer need this hack. Signed-off-by: Hans de Goede --- spice-qemu-char.c | 1 - 1 file changed, 1 deletion(-) diff --git a/spice-qemu-char.c b/spice-qemu-char.c index ba59374..7e6bd2d 100644 --- a/spice-qemu-char.c +++ b/spice-qemu-char.c @@ -184,7 +184,6 @@ static int spice_chr_write(CharDriverState *chr, const uint8_t *buf, int len) SpiceCharDriver *s = chr->opaque; int read_bytes; - vmc_register_interface(s); assert(s->datalen == 0); s->datapos = buf; s->datalen = len;