[libvirt PATCH v2 06/10] qemu: block: add function to collect blockcommit params and verify them