diff options
-rw-r--r-- | hw/kvm/apic.c | 1 | ||||
-rw-r--r-- | hw/kvm/i8259.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/kvm/apic.c b/hw/kvm/apic.c index 89e33b0..dfc2ab3 100644 --- a/hw/kvm/apic.c +++ b/hw/kvm/apic.c @@ -135,6 +135,7 @@ static void kvm_apic_class_init(ObjectClass *klass, void *data) static TypeInfo kvm_apic_info = { .name = "kvm-apic", .parent = TYPE_APIC_COMMON, + .instance_size = sizeof(APICCommonState), .class_init = kvm_apic_class_init, }; diff --git a/hw/kvm/i8259.c b/hw/kvm/i8259.c index 297d64e..14bd427 100644 --- a/hw/kvm/i8259.c +++ b/hw/kvm/i8259.c @@ -126,6 +126,7 @@ static void kvm_i8259_class_init(ObjectClass *klass, void *data) static TypeInfo kvm_i8259_info = { .name = "kvm-i8259", .parent = TYPE_PIC_COMMON, + .instance_size = sizeof(PICCommonState), .class_init = kvm_i8259_class_init, }; |