aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/e500.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-16 21:30:40 +0200
committerAlexander Graf <agraf@suse.de>2013-07-01 01:11:15 +0200
commitdd49c038c373329dc9e98e591677978ff2277d9f (patch)
tree878ea8b35460dd3dbda005975b36ddafa581fa31 /hw/ppc/e500.c
parentcbe72019b1432b368dde7c6cd3e270fc221de085 (diff)
intc/openpic_kvm: Fix QOM and build issues
Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/e500.c')
-rw-r--r--hw/ppc/e500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
index 3797fbca8f..38f799031a 100644
--- a/hw/ppc/e500.c
+++ b/hw/ppc/e500.c
@@ -504,7 +504,7 @@ static DeviceState *ppce500_init_mpic_kvm(PPCE500Params *params,
CPUState *cs;
int r;
- dev = qdev_create(NULL, "kvm-openpic");
+ dev = qdev_create(NULL, TYPE_KVM_OPENPIC);
qdev_prop_set_uint32(dev, "model", params->mpic_version);
r = qdev_init(dev);