int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size)

{

    int ret = -ENOSYS;

#ifdef KVM_CAP_COALESCED_MMIO

    KVMState *s = kvm_state;



    if (s->coalesced_mmio) {

        struct kvm_coalesced_mmio_zone zone;



        zone.addr = start;

        zone.size = size;



        ret = kvm_vm_ioctl(s, KVM_REGISTER_COALESCED_MMIO, &zone);

    }

#endif



    return ret;

}

int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size)

{

    int ret = -ENOSYS;

#ifdef KVM_CAP_COALESCED_MMIO

    KVMState *s = kvm_state;



    if (s->coalesced_mmio) {

        struct kvm_coalesced_mmio_zone zone;



        zone.addr = start;

        zone.size = size;



        ret = kvm_vm_ioctl(s, KVM_REGISTER_COALESCED_MMIO, &zone);

    }

#endif



    return ret;

}

#endif #endif #endif #ifdef KVM_CAP_COALESCED_MMIO #endif #ifdef KVM_CAP_COALESCED_MMIO #endif #ifdef KVM_CAP_COALESCED_MMIO #endif #ifdef KVM_CAP_COALESCED_MMIO #endif #ifdef KVM_CAP_COALESCED_MMIO #endif #ifdef KVM_CAP_COALESCED_MMIO #endif     KVMState *s = kvm_state; #endif #endif #endif #endif #endif
int FUNC_0(target_phys_addr_t VAR_0, ram_addr_t VAR_1)

{

    int VAR_2 = -ENOSYS;

#ifdef KVM_CAP_COALESCED_MMIO

    KVMState *s = kvm_state;



    if (s->coalesced_mmio) {

        struct kvm_coalesced_mmio_zone zone;



        zone.addr = VAR_0;

        zone.VAR_1 = VAR_1;



        VAR_2 = kvm_vm_ioctl(s, KVM_REGISTER_COALESCED_MMIO, &zone);

    }

#endif



    return VAR_2;

}

int FUNC_0(target_phys_addr_t VAR_0, ram_addr_t VAR_1)
{ int VAR_2 = -ENOSYS; #ifdef KVM_CAP_COALESCED_MMIO
KVMState *s = kvm_state; if (s->coalesced_mmio) { struct kvm_coalesced_mmio_zone zone; zone.addr = VAR_0; zone.VAR_1 = VAR_1; VAR_2 = kvm_vm_ioctl(s, KVM_REGISTER_COALESCED_MMIO, &zone); } #endif
return VAR_2; }