mirror of https://gitee.com/openkylin/qemu.git
openpic: add to misc category
openpic is a programmable interrupt controller, so add it to the misc category. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
175fe9e7c8
commit
29f8dd66e8
|
@ -1643,6 +1643,7 @@ static void openpic_class_init(ObjectClass *oc, void *data)
|
|||
dc->props = openpic_properties;
|
||||
dc->reset = openpic_reset;
|
||||
dc->vmsd = &vmstate_openpic;
|
||||
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
|
||||
}
|
||||
|
||||
static const TypeInfo openpic_info = {
|
||||
|
|
|
@ -275,6 +275,7 @@ static void kvm_openpic_class_init(ObjectClass *oc, void *data)
|
|||
dc->realize = kvm_openpic_realize;
|
||||
dc->props = kvm_openpic_properties;
|
||||
dc->reset = kvm_openpic_reset;
|
||||
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
|
||||
}
|
||||
|
||||
static const TypeInfo kvm_openpic_info = {
|
||||
|
|
Loading…
Reference in New Issue