diff options
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/devices/virtio/vhost-user.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/vnet/devices/virtio/vhost-user.h b/vnet/vnet/devices/virtio/vhost-user.h index be011165b1f..d6d557311e3 100644 --- a/vnet/vnet/devices/virtio/vhost-user.h +++ b/vnet/vnet/devices/virtio/vhost-user.h @@ -78,11 +78,11 @@ typedef struct vhost_user_memory { vhost_user_memory_region_t regions[VHOST_MEMORY_MAX_NREGIONS]; } vhost_user_memory_t; -typedef struct vhost_vring_state { +typedef struct { unsigned int index, num; } vhost_vring_state_t; -typedef struct vhost_vring_addr { +typedef struct { unsigned int index, flags; u64 desc_user_addr, used_user_addr, avail_user_addr, log_guest_addr; } vhost_vring_addr_t; |