[PATCH v2 1/2] qemu: process: Split out the statement to handle the qemu is allowed to reboot