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 mem hotplug wrong queue disable #42

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

yajwu
Copy link
Collaborator

@yajwu yajwu commented Nov 7, 2023

For QEMU hotplug memory case, vhost framework will call virtio_vdpa_dev_close, virtio_vdpa_dev_set_mem_table, then virtio_vdpa_dev_config.

Remove wrong queue disable in virtio_vdpa_dev_close to virtio_vdpa_dev_cleanup. Normally GET_VRING_BASE message will disable the queue explicitly.

For QEMU hotplug memory case, vhost framework will call virtio_vdpa_dev_close,
virtio_vdpa_dev_set_mem_table, then virtio_vdpa_dev_config.

Remove wrong queue disable in virtio_vdpa_dev_close to virtio_vdpa_dev_cleanup.
Normally GET_VRING_BASE message will disable the queue explicitly.

Signed-off-by: Yajun Wu <yajunw@nvidia.com>
@yajwu yajwu changed the title [DON'T MERGE]vdpa/virtio: fix mem hotplug wrong queue disable vdpa/virtio: fix mem hotplug wrong queue disable Nov 9, 2023
@kailiangz1 kailiangz1 merged commit 4f778ec into Mellanox:main Nov 9, 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