[libvirt] [PATCH 2/5] Add helper library for testing the qemu monitor code