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
dragonball: introduce vhost-user-blk device #8632
dragonball: introduce vhost-user-blk device #8632
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx @adamqqqplay for your great work. Some comments
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/test_utils.rs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @adamqqqplay! Look good to me overall, but a few comments here.
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
26fe41f
to
aacda5e
Compare
src/dragonball/src/dbs_virtio_devices/src/vhost/vhost_user/block.rs
Outdated
Show resolved
Hide resolved
aacda5e
to
7fc50aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments
3e56fd2
to
2e7d7c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, thanks!
/test |
2e7d7c3
to
679c58f
Compare
/test |
/test-arm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx @adamqqqplay great work! LGTM!
679c58f
to
385d948
Compare
/test |
This patch introduces a feature of supporting vhost-user-blk device. This device needs to be defined before the VM instance is started, which can be done through the dbs-cli tool with --virblks option: --virblks '{ "drive_id": "8623", "device_type": "Spdk", "path_on_host": "spdk:///var/tmp/vhost.sock", "is_root_device": false, "is_read_only": false, "is_direct": false, "no_drop": false, "num_queues": 1, "queue_size": 256 }' Fixes: kata-containers#8631 Signed-off-by: Eric Ren <renzhen@linux.alibaba.com> Signed-off-by: fupan <fupan.lfp@antgroup.com> Signed-off-by: Liu Jiang <gerry@linux.alibaba.com> Signed-off-by: Qinqi Qu <quqinqi@linux.alibaba.com>
This patch introduces a feature of supporting vhost-user-blk device. Fixes: kata-containers#8631 Signed-off-by: Qinqi Qu <quqinqi@linux.alibaba.com>
385d948
to
81ab174
Compare
/test |
This patch introduces a feature of supporting vhost-user-blk device.
Fixes: #8631