mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
vmm: device_manager: Warn that vhost-user self spawning is deprecated
See #1724 for details. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
0a4be7ddf5
commit
664c3ceda6
@ -1691,6 +1691,7 @@ impl DeviceManager {
|
||||
let socket = if let Some(socket) = disk_cfg.vhost_socket.clone() {
|
||||
socket
|
||||
} else {
|
||||
warn!("Self-spawning of vhost-user block backend is deprecated and will be removed in a future release.");
|
||||
self.start_block_backend(disk_cfg)?
|
||||
};
|
||||
let vu_cfg = VhostUserConfig {
|
||||
@ -1937,6 +1938,7 @@ impl DeviceManager {
|
||||
let socket = if let Some(socket) = net_cfg.vhost_socket.clone() {
|
||||
socket
|
||||
} else {
|
||||
warn!("Self-spawning of vhost-user net backend is deprecated and will be removed in a future release.");
|
||||
self.start_net_backend(net_cfg)?
|
||||
};
|
||||
let vu_cfg = VhostUserConfig {
|
||||
|
Loading…
x
Reference in New Issue
Block a user