diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-02-03 22:06:47 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-06 10:17:20 -0600 |
commit | 4cafe606040bfb7526a954e131daa61afc5d747a (patch) | |
tree | 17ea796768f94d6e30cb9fbe188d1b7f6e61d405 /hw/kvm/apic.c | |
parent | 3bc36349722a6f0d96ec9d8dc870aa82ae6de4cd (diff) | |
download | qemu-4cafe606040bfb7526a954e131daa61afc5d747a.tar.gz qemu-4cafe606040bfb7526a954e131daa61afc5d747a.tar.bz2 qemu-4cafe606040bfb7526a954e131daa61afc5d747a.zip |
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/apic.c')
-rw-r--r-- | hw/kvm/apic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/kvm/apic.c b/hw/kvm/apic.c index 89e33b0ac8..dfc2ab3b03 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, }; |