The input and output were the same, but the output file did not correspond to what libvirt would output.