summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2022-08-01 14:38:36 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-08-11 04:06:39 -0400
commit6fea20e5611fc5c8264f04a878a98c06b6209eed (patch)
tree755fbd0c07bc95e2349ec6724ef856bc8351726c /tools
parentaf36b16f6c1e51975a3815eb21c21c47f3114393 (diff)
virtio_ring: split: introduce virtqueue_resize_split()
virtio ring split supports resize. Only after the new vring is successfully allocated based on the new num, we will release the old vring. In any case, an error is returned, indicating that the vring still points to the old vring. In the case of an error, re-initialize(virtqueue_reinit_split()) the virtqueue to ensure that the vring can be used. Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20220801063902.129329-17-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions