mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +00:00
vmm: config: Add warning about specifying "wce" without "vhost-user"
Currently configuring WCE is only supported when using vhost-user. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
12f4cd951a
commit
969b5ee4e8
@ -441,6 +441,9 @@ impl DiskConfig {
|
||||
vhost_socket = Some(vhost_socket_str.to_owned());
|
||||
}
|
||||
if !wce_str.is_empty() {
|
||||
if !vhost_user {
|
||||
warn!("wce parameter currently only has effect when used vhost_user=true");
|
||||
}
|
||||
wce = wce_str.parse().map_err(Error::ParseDiskWceParam)?;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user