[libvirt] [PATCH 2/4] Implement infrastracture for mocking up QEMU capabilities cache