static void do_loadvm(Monitor *mon, const QDict *qdict)

{

    int saved_vm_running  = vm_running;

    const char *name = qdict_get_str(qdict, "name");



    vm_stop(0);



    if (load_vmstate(name) >= 0 && saved_vm_running)

        vm_start();

}

static void do_loadvm(Monitor *mon, const QDict *qdict)

{

    int saved_vm_running  = vm_running;

    const char *name = qdict_get_str(qdict, "name");



    vm_stop(0);



    if (load_vmstate(name) >= 0 && saved_vm_running)

        vm_start();

}

    if (load_vmstate(name) >= 0 && saved_vm_running)
static void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)

{

    int VAR_2  = vm_running;

    const char *VAR_3 = qdict_get_str(VAR_1, "VAR_3");



    vm_stop(0);



    if (load_vmstate(VAR_3) >= 0 && VAR_2)

        vm_start();

}

static void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)
{ int VAR_2  = vm_running; const char *VAR_3 = qdict_get_str(VAR_1, "VAR_3"); vm_stop(0); if (load_vmstate(VAR_3) >= 0 && VAR_2)
vm_start(); }