[libvirt] [PATCH v2 2/8] qemu: Split out the master key create and write