vm-virtio: Add vhost-user-blk implementation

vhost-user-blk has better performance than virtio-blk, so we need
add vhost-user-blk support with SPDK in Rust-based VMMs.

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
This commit is contained in:
Yang Zhong
2019-09-02 19:00:35 +08:00
committed by Samuel Ortiz
parent b232de9963
commit 397d388710
3 changed files with 232 additions and 0 deletions
+2
View File
@@ -130,6 +130,8 @@ pub enum ActivateError {
VhostUserSetup(vhost_user::Error),
/// Failed to setup vhost-user daemon.
VhostUserNetSetup(vhost_user::Error),
/// Failed to setup vhost-user daemon.
VhostUserBlkSetup(vhost_user::Error),
}
pub type ActivateResult = std::result::Result<(), ActivateError>;