Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vdpa/virtio: Fix wrong set vring base(used index) #40

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

yajwu
Copy link
Collaborator

@yajwu yajwu commented Oct 25, 2023

With qemu 7.2 commits:

02b61f38d3 ("hw/virtio: incorporate backend features in features") 4daa5054c5 ("enable vrings in vhost_dev_start() for vhost-user devices")

vhost-user-blk frontend now will send VHOST_USER_SET_VRING_ENABLE(0) before VHOST_USER_GET_VRING_BASE.

blk backend doesn't support VIRTIO_F_RING_RESET, so ignore this queue disable if no device feature VIRTIO_F_RING_RESET.

RM: 3635307

With qemu 7.2 commits:

02b61f38d3 ("hw/virtio: incorporate backend features in features")
4daa5054c5 ("enable vrings in vhost_dev_start() for vhost-user devices")

vhost-user-blk frontend now will send VHOST_USER_SET_VRING_ENABLE(0) before
VHOST_USER_GET_VRING_BASE.

blk backend doesn't support VIRTIO_F_RING_RESET, so ignore this queue
disable if no device feature VIRTIO_F_RING_RESET.

RM: 3635307
Signed-off-by: Yajun Wu <yajunw@nvidia.com>
@kailiangz1 kailiangz1 merged commit 92535c4 into Mellanox:main Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants