New versions of KVM no longer have memory issues of memory overfill. Libvirt’s no longer needed to run whonix. To get the correct command for running, install aqemu, create 2 VMs and attach both images. Aqemu will generate the appropriate commands for running the OS. The thing is that old qemu commands like accel=kvm make the networking not working between the VMs, that’s why aqemu is needed. With commands generated by aqemu you can run VMs from commandline and no modifications of firewalls are needed. Example command:
/usr/bin/qemu-system-x86_64 -monitor stdio -enable-kvm -m 320 -drive file="/home/user/Whonix-Gateway/Whonix-Gateway-9.2.0.0.qcow2",if=scsi -boot once=c,menu=on -net nic,vlan=0,macaddr=00:e0:2a:a1:e4:d2,model=rtl8139 -net user,vlan=0 -net nic,vlan=1,macaddr=00:e0:4c:c5:1a:d1,model=rtl8139 -net socket,vlan=1,listen=127.0.0.1:12222 -name “gateway”
/usr/bin/qemu-system-x86_64 -monitor stdio -smp 2,cores=1,threads=1,sockets=1 -cpu host -vga qxl -enable-kvm -m 1435 -full-screen -drive file="/home/user/Whonix-Workstation/Whonix-Workstation-9.2.0.0.qcow2",if=virtio -net nic,vlan=1,macaddr=DE:BE:BE:DE:A0:1C,model=rtl8139 -net socket,vlan=1,connect=127.0.0.1:12222 -no-frame -name “workstation”
Edit by Patrick:
changed title