mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: vhost_user: net: Remove control queue
Now that the control queue is correctly handled by the backend, there's no need to handle it as well from the VMM. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -2043,13 +2043,8 @@ impl DeviceManager {
|
||||
VhostMode::Server => true,
|
||||
};
|
||||
let vhost_user_net_device = Arc::new(Mutex::new(
|
||||
match virtio_devices::vhost_user::Net::new(
|
||||
id.clone(),
|
||||
net_cfg.mac,
|
||||
vu_cfg,
|
||||
self.seccomp_action.clone(),
|
||||
server,
|
||||
) {
|
||||
match virtio_devices::vhost_user::Net::new(id.clone(), net_cfg.mac, vu_cfg, server)
|
||||
{
|
||||
Ok(vun_device) => vun_device,
|
||||
Err(e) => {
|
||||
return Err(DeviceManagerError::CreateVhostUserNet(e));
|
||||
|
||||
Reference in New Issue
Block a user