[PATCH v1 20/24] qemu_command.c: move 'panic' validation to qemu_validate.c