From 3469d9bce86d2e387777addb25ed8b80b7e9d2a1 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Sat, 26 Sep 2015 18:22:08 +0200 Subject: macio-ide: add to storage category macio-ide is an IDE controller, so add it to the storage category. Signed-off-by: Laurent Vivier Reviewed-by: Thomas Huth Reviewed-by: John Snow Signed-off-by: David Gibson --- hw/ide/macio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw') 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 = { -- cgit v1.2.3