mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +00:00
vmm: Give deprecation warning for "--vhost-user-blk" syntax
This will be removed in a future release. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
969b5ee4e8
commit
75e6762897
@ -1061,6 +1061,7 @@ fn default_vublkconfig_wce() -> bool {
|
||||
|
||||
impl VhostUserBlkConfig {
|
||||
pub fn parse(vhost_user_blk: &str) -> Result<Self> {
|
||||
error!("Using deprecated --vhost-user-blk syntax. Use --disk with vhost_user=true,socket=<socket path>");
|
||||
// Split the parameters based on the comma delimiter
|
||||
let params_list: Vec<&str> = vhost_user_blk.split(',').collect();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user