Hello,
the libvirt documentation has nothing on installing libvirt to Raspberry Pi 5, so the documentation says to email any suggestions.

Cheers,
Ken.