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>
This commit is contained in:
		
							parent
							
								
									0f2065a19b
								
							
						
					
					
						commit
						bf0cb498c5
					
				@ -20,7 +20,7 @@
 | 
				
			|||||||
typedef struct VirtIOConsole
 | 
					typedef struct VirtIOConsole
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    VirtIODevice vdev;
 | 
					    VirtIODevice vdev;
 | 
				
			||||||
    VirtQueue *ivq, *dvq;
 | 
					    VirtQueue *ivq, *ovq;
 | 
				
			||||||
    CharDriverState *chr;
 | 
					    CharDriverState *chr;
 | 
				
			||||||
} VirtIOConsole;
 | 
					} VirtIOConsole;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -132,7 +132,7 @@ VirtIODevice *virtio_console_init(DeviceState *dev)
 | 
				
			|||||||
    s->vdev.get_features = virtio_console_get_features;
 | 
					    s->vdev.get_features = virtio_console_get_features;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    s->ivq = virtio_add_queue(&s->vdev, 128, virtio_console_handle_input);
 | 
					    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);
 | 
					    s->chr = qdev_init_chardev(dev);
 | 
				
			||||||
    qemu_chr_add_handlers(s->chr, vcon_can_read, vcon_read, vcon_event, s);
 | 
					    qemu_chr_add_handlers(s->chr, vcon_can_read, vcon_read, vcon_event, s);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user