void qtest_quit(QTestState *s)

{

    int status;



    pid_t pid = qtest_qemu_pid(s);

    if (pid != -1) {

        kill(pid, SIGTERM);

        waitpid(pid, &status, 0);

    }






    unlink(s->pid_file);

    unlink(s->socket_path);

    unlink(s->qmp_socket_path);

    g_free(s->pid_file);

    g_free(s->socket_path);

    g_free(s->qmp_socket_path);


}
void qtest_quit(QTestState *s)

{

    int status;



    pid_t pid = qtest_qemu_pid(s);

    if (pid != -1) {

        kill(pid, SIGTERM);

        waitpid(pid, &status, 0);

    }






    unlink(s->pid_file);

    unlink(s->socket_path);

    unlink(s->qmp_socket_path);

    g_free(s->pid_file);

    g_free(s->socket_path);

    g_free(s->qmp_socket_path);


}
void FUNC_0(QTestState *VAR_0)

{

    int VAR_1;



    pid_t pid = qtest_qemu_pid(VAR_0);

    if (pid != -1) {

        kill(pid, SIGTERM);

        waitpid(pid, &VAR_1, 0);

    }






    unlink(VAR_0->pid_file);

    unlink(VAR_0->socket_path);

    unlink(VAR_0->qmp_socket_path);

    g_free(VAR_0->pid_file);

    g_free(VAR_0->socket_path);

    g_free(VAR_0->qmp_socket_path);


}
void FUNC_0(QTestState *VAR_0)
{ int VAR_1; pid_t pid = qtest_qemu_pid(VAR_0); if (pid != -1) { kill(pid, SIGTERM); waitpid(pid, &VAR_1, 0); } unlink(VAR_0->pid_file); unlink(VAR_0->socket_path); unlink(VAR_0->qmp_socket_path); g_free(VAR_0->pid_file); g_free(VAR_0->socket_path); g_free(VAR_0->qmp_socket_path); }