From patchwork Thu Aug 20 09:33:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 31711 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 1B358B7B5F for ; Thu, 20 Aug 2009 19:34:37 +1000 (EST) Received: from localhost ([127.0.0.1]:54190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me42R-0007hn-Pg for incoming@patchwork.ozlabs.org; Thu, 20 Aug 2009 05:34:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Me41n-0007ha-JB for qemu-devel@nongnu.org; Thu, 20 Aug 2009 05:33:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Me41j-0007h1-IE for qemu-devel@nongnu.org; Thu, 20 Aug 2009 05:33:51 -0400 Received: from [199.232.76.173] (port=48038 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me41j-0007gy-BZ for qemu-devel@nongnu.org; Thu, 20 Aug 2009 05:33:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17864) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Me41i-0001N0-Rx for qemu-devel@nongnu.org; Thu, 20 Aug 2009 05:33:47 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7K9XhDU005565; Thu, 20 Aug 2009 05:33:43 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7K9XgO2029625; Thu, 20 Aug 2009 05:33:42 -0400 Received: from localhost (vpn-12-65.rdu.redhat.com [10.11.12.65]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7K9XecV018087; Thu, 20 Aug 2009 05:33:41 -0400 From: Amit Shah To: anthony@codemonkey.ws Date: Thu, 20 Aug 2009 15:03:25 +0530 Message-Id: <1250760805-7308-1-git-send-email-amit.shah@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Amit Shah , qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH] virtio-console: rename dvq to ovq X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org It isn't obvious what 'dvq' stands for. Since it's the output queue and the corresponding input queue is called 'ivq', call this 'ovq' Signed-off-by: Amit Shah --- hw/virtio-console.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/virtio-console.c b/hw/virtio-console.c index 663c8b9..92c953c 100644 --- a/hw/virtio-console.c +++ b/hw/virtio-console.c @@ -20,7 +20,7 @@ typedef struct VirtIOConsole { VirtIODevice vdev; - VirtQueue *ivq, *dvq; + VirtQueue *ivq, *ovq; CharDriverState *chr; } VirtIOConsole; @@ -135,7 +135,7 @@ VirtIODevice *virtio_console_init(DeviceState *dev) s->vdev.get_features = virtio_console_get_features; s->ivq = virtio_add_queue(&s->vdev, 128, virtio_console_handle_input); - s->dvq = virtio_add_queue(&s->vdev, 128, virtio_console_handle_output); + s->ovq = virtio_add_queue(&s->vdev, 128, virtio_console_handle_output); s->chr = qdev_init_chardev(dev); qemu_chr_add_handlers(s->chr, vcon_can_read, vcon_read, vcon_event, s);