diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2020-04-18 12:22:17 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-06-22 12:34:22 -0400 |
commit | cb91909e48a4809261ef4e967464e2009b214f06 (patch) | |
tree | 876b6f1d4541820c3fc866fae5e198189cc94f4a /tools/virtio/linux/virtio.h | |
parent | 1d8bf5c3a3a1b90c39ccbafb3aa63ffc5196b142 (diff) |
tools/virtio: Use tools/include/list.h instead of stubs
It should not make any significant difference but reduce stub code.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Link: https://lore.kernel.org/r/20200418102217.32327-9-eperezma@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio/linux/virtio.h')
-rw-r--r-- | tools/virtio/linux/virtio.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/virtio/linux/virtio.h b/tools/virtio/linux/virtio.h index b751350d4ce8..5d90254ddae4 100644 --- a/tools/virtio/linux/virtio.h +++ b/tools/virtio/linux/virtio.h @@ -11,12 +11,11 @@ struct device { struct virtio_device { struct device dev; u64 features; + struct list_head vqs; }; struct virtqueue { - /* TODO: commented as list macros are empty stubs for now. - * Broken but enough for virtio_ring.c - * struct list_head list; */ + struct list_head list; void (*callback)(struct virtqueue *vq); const char *name; struct virtio_device *vdev; |