mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-06 06:41:57 +08:00
Prior to this commit, we would always setup a VmHost with SPDK and changing SPDK to VhostBlockBackend required manual creation of its prog and stopping the SPDK services to free up the hugepages. With this commit, in a backward compatible manner, we can specify vhost_block_backend_version and also set spdk_version to nil to setup vhost instead of SPDK. Here's a sample assemble example: Prog::Vm::HostNexus.assemble("1.2.3.4", spdk_version: nil, vhost_block_backend_version: Config.vhost_block_backend_version) |
||
---|---|---|
.. | ||
clec | ||
lib | ||
model | ||
prog | ||
routes | ||
scheduling | ||
serializers | ||
cli_config.ru | ||
cli_spec.rb | ||
config_spec.rb | ||
coverage_helper.rb | ||
db_spec.rb | ||
monitor_smoke_test.rb | ||
resource_methods_spec.rb | ||
respirate_smoke_test.rb | ||
ruby_sdk_spec.rb | ||
spec_helper.rb | ||
thawed_mock.rb | ||
ubid_spec.rb |