$ sudo usermod -aG libvirt <username>
$ newgrp libvirt
$ newgrp <username>
Create a Windows VM in libvirt
$ virsh change-media cassowary-win10 sda --eject
$ virsh change-media cassowary-win10 sdb --eject
$ dnf install python3-Qt5 python3-libvirt
$ git clone https://github.com/casualsnek/cassowary
$ cd cassowary
$ ./buildall.sh
$ cd app-linux/dist
$ python -m venv --system-site-packages $HOME/opt/cassowary
$ source $HOME/opt/cassowary/bin/activate
$ python -m pip install --upgrade pip
$ python -m pip install cassowary/app-linux/dist/cassowary*.whl
$ deactivate
$ ln -s ../opt/cassowary/bin/cassowary $HOME/bin/cassowary
$ virsh start cassowary-win10
$ cassowary -a
VM/Guest Info (Cannot use autodetect because this is a Session VM)
VM Name VM IP Windows Hostname Windows Username Windows Password
Advanced
libvirtURI: qemu:///session Enable VM suspend on inactivity: Enabled Send notification when VM suspends: Enabled
virt-clone --original cassowary-win10 --auto-clone