qemu-kvm
Installation¶
sudo pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat ebtables iptables libguestfs
sudo systemctl enable --now libvirtd
sudo usermod -aG libvirt $(whoami)
sudo systemctl restart libvirtd
Disable the internet before proceeding to boot live disk:
Mon Jul 7 03:48:50 AM IST 2025
I'm not sure what went wrong, but the vm wouldn't boot under uefi.
After installation of the VM and a reboot of the host device I had to run:
VM to Camera IP network¶
I couldn't install ONVIF Device Manager (odm-v2.2.250r.msi https://sourceforge.net/projects/onvifdm/files/) in wine so I decided to do install it in a Windows VM. But here the challenge would be getting the vm to access the ip camera network that the host is connected to. I'll detail the setup that achieved this goal.
I don't use networkmanager btw.
Bridge configuration¶
Bind Ethernet Interface to Bridge¶
Where enp5s0
is the interface connected to the IP camera network.
Enable systemd-networkd¶
Add network interface in virt-manager¶
Add NIC with this config:
In my case the device model had to be e1000e
and not virtio
.
Now you can reboot.