diff options
author | Laurent Vivier <laurent@vivier.eu> | 2015-09-26 18:22:08 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2015-10-23 12:35:18 +1100 |
commit | 3469d9bce86d2e387777addb25ed8b80b7e9d2a1 (patch) | |
tree | 227e06f79017cf1aac30a2e3ab1752de2b274182 /hw | |
parent | 599d7326c35d323c0a2cf18ebf65c613979e7f65 (diff) |
macio-ide: add to storage category
macio-ide is an IDE controller, so add it
to the storage category.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/ide/macio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c index 66ac2baa94..893c9b9bae 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -590,6 +590,7 @@ static void macio_ide_class_init(ObjectClass *oc, void *data) dc->realize = macio_ide_realizefn; dc->reset = macio_ide_reset; dc->vmsd = &vmstate_pmac; + set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); } static const TypeInfo macio_ide_type_info = { |