From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfpMX-0003Gs-FN for qemu-devel@nongnu.org; Tue, 25 Aug 2009 02:18:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfpMS-0003Ax-Qo for qemu-devel@nongnu.org; Tue, 25 Aug 2009 02:18:33 -0400 Received: from [199.232.76.173] (port=59747 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfpMS-0003Al-Ki for qemu-devel@nongnu.org; Tue, 25 Aug 2009 02:18:28 -0400 Received: from mx20.gnu.org ([199.232.41.8]:55840) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfpMS-0002LP-4P for qemu-devel@nongnu.org; Tue, 25 Aug 2009 02:18:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfpMR-0007BG-AL for qemu-devel@nongnu.org; Tue, 25 Aug 2009 02:18:27 -0400 From: Amit Shah Date: Tue, 25 Aug 2009 11:47:23 +0530 Message-Id: <1251181044-3696-4-git-send-email-amit.shah@redhat.com> In-Reply-To: <1251181044-3696-3-git-send-email-amit.shah@redhat.com> References: <1251181044-3696-1-git-send-email-amit.shah@redhat.com> <1251181044-3696-2-git-send-email-amit.shah@redhat.com> <1251181044-3696-3-git-send-email-amit.shah@redhat.com> Subject: [Qemu-devel] [PATCH 2/3] virtio-console: rename dvq to ovq List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Cc: Amit Shah 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); -- 1.6.2.5