VDE Network Backend Error
When I try to use the VDE network backend with a QEMU VM, an error is returned:
"Parameter 'type' expects a netdev backend type"
In an identical environment, but with QEMU built from source according to their documentation, this error does not happen, and the VM works as expected.
I am using a fresh install of Ubuntu 22.04 LTS for testing the following. I am also using Vagrant to make sure that there is no variability when testing across atomic configuration and build changes. Here is the output from lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Here are all the commands in Vagrant's install script:
#!/bin/bash
## Set environment
export DEBIAN_
## Update Ubuntu
sleep 20
echo 'APT::Get:
apt-get update
apt-get --with-new-pkgs upgrade -y
apt-get autoremove -y
apt-get autoclean -y
Here is the section of the script that installs QEMU and VDE2:
apt-get install -y qemu-system-x86 vde2
Here are the commands that I am using to start the VDE switch and the QEMU VM (I am running these two in separate tmux sessions because neither command is backgrounded:
vde_switch -sock /tmp/myswitch
qemu-system-x86_64 -m 8G -cpu host -enable-kvm -nic vde,sock=
Here is the resulting error:
qemu-system-x86_64: -nic vde,sock=
Is this a bug that I should report here with regards to the qemu package in jammy?
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu qemu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Robert Simmons for more information if necessary.