mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-08 22:05:20 +00:00
vmm: Give deprecation warning for "--vhost-user-net" syntax
This will be removed in a future release. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
f322e924ad
commit
2c6f528c23
@ -899,6 +899,7 @@ fn default_vunetconfig_mac() -> MacAddr {
|
||||
|
||||
impl VhostUserNetConfig {
|
||||
pub fn parse(vhost_user_net: &str) -> Result<Self> {
|
||||
error!("Using deprecated --vhost-user-net syntax. Use --net with vhost_user=true,socket=<socket path>");
|
||||
// Split the parameters based on the comma delimiter
|
||||
let params_list: Vec<&str> = vhost_user_net.split(',').collect();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user