vhost: allocate event_idx fields on vring
authorEugenio Pérez <eperezma@redhat.com>
Thu, 20 Oct 2022 15:52:48 +0000 (17:52 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 28 Oct 2022 05:28:52 +0000 (13:28 +0800)
commitf0c48e05bd7c535aa0614d284d165d998936c79b
tree7514d731b931b70a8800fd6cf2f4be0837b607df
parent7d0e12af59286f3784c3ab7502325fc6a051d117
vhost: allocate event_idx fields on vring

There was not enough room to accomodate them.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/virtio/vhost-shadow-virtqueue.c