diff options
| author | Xuan Zhuo <xuanzhuo@linux.alibaba.com> | 2022-08-01 14:38:26 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-11 04:06:38 -0400 |
| commit | 3a897128d3193459a87551e54a7f0a71edb65153 (patch) | |
| tree | e1c0d70dc1d5077742bc28879752bf3383e50469 /include | |
| parent | d76136e434973691d8928cec1b3f93d38e30fe6e (diff) | |
| download | linux-3a897128d3193459a87551e54a7f0a71edb65153.tar.gz linux-3a897128d3193459a87551e54a7f0a71edb65153.tar.bz2 linux-3a897128d3193459a87551e54a7f0a71edb65153.zip | |
virtio_ring: introduce virtqueue_init()
Separate the logic of virtqueue initialization. These variables should
be reset during reset.
This logic can be called independently when implementing resize/reset
later.
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220801063902.129329-7-xuanzhuo@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
