static int get_htab_fd(sPAPRMachineState *spapr)

{

    if (spapr->htab_fd >= 0) {

        return spapr->htab_fd;

    }



    spapr->htab_fd = kvmppc_get_htab_fd(false);

    if (spapr->htab_fd < 0) {

        error_report("Unable to open fd for reading hash table from KVM: %s",

                     strerror(errno));

    }



    return spapr->htab_fd;

}

static int get_htab_fd(sPAPRMachineState *spapr)

{

    if (spapr->htab_fd >= 0) {

        return spapr->htab_fd;

    }



    spapr->htab_fd = kvmppc_get_htab_fd(false);

    if (spapr->htab_fd < 0) {

        error_report("Unable to open fd for reading hash table from KVM: %s",

                     strerror(errno));

    }



    return spapr->htab_fd;

}

                     strerror(errno));
static int FUNC_0(sPAPRMachineState *VAR_0)

{

    if (VAR_0->htab_fd >= 0) {

        return VAR_0->htab_fd;

    }



    VAR_0->htab_fd = kvmppc_get_htab_fd(false);

    if (VAR_0->htab_fd < 0) {

        error_report("Unable to open fd for reading hash table from KVM: %s",

                     strerror(errno));

    }



    return VAR_0->htab_fd;

}

static int FUNC_0(sPAPRMachineState *VAR_0)
{ if (VAR_0->htab_fd >= 0) { return VAR_0->htab_fd; } VAR_0->htab_fd = kvmppc_get_htab_fd(false); if (VAR_0->htab_fd < 0) { error_report("Unable to open fd for reading hash table from KVM: %s",
strerror(errno)); } return VAR_0->htab_fd; }