diff options
author | Amit Shah <amit.shah@redhat.com> | 2009-08-20 15:03:25 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:30:22 -0500 |
commit | bf0cb498c581b6be7bf4c31f500487600abf2db5 (patch) | |
tree | 43c6aba3dccf8ec7c88cdbeed64a634cc1d97a02 | |
parent | 0f2065a19b52c08e2f766b0b2d1296f9150573b0 (diff) | |
download | qemu-bf0cb498c581b6be7bf4c31f500487600abf2db5.tar.gz qemu-bf0cb498c581b6be7bf4c31f500487600abf2db5.tar.bz2 qemu-bf0cb498c581b6be7bf4c31f500487600abf2db5.zip |
virtio-console: rename dvq to ovq
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 <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | 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 04f8873b3b..57f8f89afa 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; @@ -132,7 +132,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); |