[libvirt] [PATCH 2/4] qemu: add function to fill capabilities cache