From patchwork Tue Aug 25 06:17:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 43704 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7P6InPc015897 for ; Tue, 25 Aug 2009 06:18:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754558AbZHYGS0 (ORCPT ); Tue, 25 Aug 2009 02:18:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754554AbZHYGS0 (ORCPT ); Tue, 25 Aug 2009 02:18:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61664 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754496AbZHYGSZ (ORCPT ); Tue, 25 Aug 2009 02:18:25 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7P6HsMh011365; Tue, 25 Aug 2009 02:17:54 -0400 Received: from localhost (vpn-12-87.rdu.redhat.com [10.11.12.87]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7P6Hpo1008583; Tue, 25 Aug 2009 02:17:52 -0400 From: Amit Shah To: qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Cc: Amit Shah Subject: [PATCH 2/3] virtio-console: rename dvq to ovq 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> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.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);