Hello, I tested your patch and it works. With the patch virt-manager does instantly connect without any manual interference.
Since this is the first time I did this, just to be sure I did everything correctly, I list how I tested it. I cloned the git repository I created a file called libvirtd.patch with your contents git apply libvirtd.patch guix shell -D guix --pure ./bootstrap ./configure --localstatedir=/var make make check (had 2 errors, authenticate and something else) after that I executed "sudo -E ./pre-inst-env guix system reconfigure ~/guix/system.cm" I rebooted the system and launched virt-manager which directly connected. Best Regards, Christian Miller