static void handle_event(int event)

{

    static bool logged;



    if (event & ~PVPANIC_PANICKED && !logged) {

        qemu_log_mask(LOG_GUEST_ERROR, "pvpanic: unknown event %#x.\n", event);

        logged = true;

    }



    if (event & PVPANIC_PANICKED) {

        panicked_mon_event("pause");

        vm_stop(RUN_STATE_GUEST_PANICKED);

        return;

    }

}

static void handle_event(int event)

{

    static bool logged;



    if (event & ~PVPANIC_PANICKED && !logged) {

        qemu_log_mask(LOG_GUEST_ERROR, "pvpanic: unknown event %#x.\n", event);

        logged = true;

    }



    if (event & PVPANIC_PANICKED) {

        panicked_mon_event("pause");

        vm_stop(RUN_STATE_GUEST_PANICKED);

        return;

    }

}

        panicked_mon_event("pause");
static void FUNC_0(int VAR_0)

{

    static bool VAR_1;



    if (VAR_0 & ~PVPANIC_PANICKED && !VAR_1) {

        qemu_log_mask(LOG_GUEST_ERROR, "pvpanic: unknown VAR_0 %#x.\n", VAR_0);

        VAR_1 = true;

    }



    if (VAR_0 & PVPANIC_PANICKED) {

        panicked_mon_event("pause");

        vm_stop(RUN_STATE_GUEST_PANICKED);

        return;

    }

}

static void FUNC_0(int VAR_0)
{ static bool VAR_1; if (VAR_0 & ~PVPANIC_PANICKED && !VAR_1) { qemu_log_mask(LOG_GUEST_ERROR, "pvpanic: unknown VAR_0 %#x.\n", VAR_0); VAR_1 = true; } if (VAR_0 & PVPANIC_PANICKED) { panicked_mon_event("pause"); vm_stop(RUN_STATE_GUEST_PANICKED); return; } }