static void kvm_apic_realize(DeviceState *dev, Error **errp)

{

    APICCommonState *s = APIC_COMMON(dev);



    memory_region_init_io(&s->io_memory, NULL, &kvm_apic_io_ops, s, "kvm-apic-msi",

                          APIC_SPACE_SIZE);



    if (kvm_has_gsi_routing()) {

        msi_nonbroken = true;

    }

}

static void kvm_apic_realize(DeviceState *dev, Error **errp)

{

    APICCommonState *s = APIC_COMMON(dev);



    memory_region_init_io(&s->io_memory, NULL, &kvm_apic_io_ops, s, "kvm-apic-msi",

                          APIC_SPACE_SIZE);



    if (kvm_has_gsi_routing()) {

        msi_nonbroken = true;

    }

}

    memory_region_init_io(&s->io_memory, NULL, &kvm_apic_io_ops, s, "kvm-apic-msi",                           APIC_SPACE_SIZE);
static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)

{

    APICCommonState *s = APIC_COMMON(VAR_0);



    memory_region_init_io(&s->io_memory, NULL, &kvm_apic_io_ops, s, "kvm-apic-msi",

                          APIC_SPACE_SIZE);



    if (kvm_has_gsi_routing()) {

        msi_nonbroken = true;

    }

}

static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)
{ APICCommonState *s = APIC_COMMON(VAR_0); memory_region_init_io(&s->io_memory, NULL, &kvm_apic_io_ops, s, "kvm-apic-msi",
APIC_SPACE_SIZE); if (kvm_has_gsi_routing()) { msi_nonbroken = true; } }