reorganize the qemu configuration template file