diff options
author | Greg Kurz <groug@kaod.org> | 2019-02-15 12:40:12 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-02-18 10:37:33 +1100 |
commit | 8c1ced677dd0d7ebe96abb634d7398cd64236b11 (patch) | |
tree | b5c20118a03f7900f300b48a5532c1d43297c5cf /hw/intc | |
parent | 56af66566dc728d951cba9b9d6b9772259d43d8d (diff) | |
download | qemu-8c1ced677dd0d7ebe96abb634d7398cd64236b11.zip qemu-8c1ced677dd0d7ebe96abb634d7398cd64236b11.tar.gz qemu-8c1ced677dd0d7ebe96abb634d7398cd64236b11.tar.bz2 |
xics: Drop the KVM ICP class
The KVM ICP class isn't used anymore. Drop it.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <155023081228.1011724.12474992370439652538.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc')
-rw-r--r-- | hw/intc/xics_kvm.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/hw/intc/xics_kvm.c b/hw/intc/xics_kvm.c index 4eebced..fae4ac4 100644 --- a/hw/intc/xics_kvm.c +++ b/hw/intc/xics_kvm.c @@ -152,23 +152,6 @@ void icp_kvm_realize(DeviceState *dev, Error **errp) QLIST_INSERT_HEAD(&kvm_enabled_icps, enabled_icp, node); } -static void icp_kvm_class_init(ObjectClass *klass, void *data) -{ - DeviceClass *dc = DEVICE_CLASS(klass); - ICPStateClass *icpc = ICP_CLASS(klass); - - device_class_set_parent_realize(dc, icp_kvm_realize, - &icpc->parent_realize); -} - -static const TypeInfo icp_kvm_info = { - .name = TYPE_KVM_ICP, - .parent = TYPE_ICP, - .instance_size = sizeof(ICPState), - .class_init = icp_kvm_class_init, - .class_size = sizeof(ICPStateClass), -}; - /* * ICS-KVM */ @@ -425,7 +408,6 @@ fail: static void xics_kvm_register_types(void) { type_register_static(&ics_kvm_info); - type_register_static(&icp_kvm_info); } type_init(xics_kvm_register_types) |