Diff for /qemu/hw/virtio-console.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2018/04/24 17:24:53 version 1.1.1.3, 2018/04/24 17:39:45
Line 20 Line 20
 typedef struct VirtIOConsole  typedef struct VirtIOConsole
 {  {
     VirtIODevice vdev;      VirtIODevice vdev;
     VirtQueue *ivq, *dvq;      VirtQueue *ivq, *ovq;
     CharDriverState *chr;      CharDriverState *chr;
 } VirtIOConsole;  } VirtIOConsole;
   
Line 132  VirtIODevice *virtio_console_init(Device Line 132  VirtIODevice *virtio_console_init(Device
     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);

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


unix.superglobalmegacorp.com