aboutsummaryrefslogtreecommitdiff
path: root/hw/kvm/i8259.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-02-03 22:06:47 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-06 10:17:20 -0600
commit4cafe606040bfb7526a954e131daa61afc5d747a (patch)
tree17ea796768f94d6e30cb9fbe188d1b7f6e61d405 /hw/kvm/i8259.c
parent3bc36349722a6f0d96ec9d8dc870aa82ae6de4cd (diff)
KVM: Fix breakages of QOM conversion
KVM APIC and PIC require instance sizes. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/kvm/i8259.c')
-rw-r--r--hw/kvm/i8259.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/kvm/i8259.c b/hw/kvm/i8259.c
index 297d64e11f..14bd427518 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,
};