]> git.proxmox.com Git - mirror_qemu.git/commitdiff
macio-ide: add to storage category
authorLaurent Vivier <laurent@vivier.eu>
Sat, 26 Sep 2015 16:22:08 +0000 (18:22 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Oct 2015 01:35:18 +0000 (12:35 +1100)
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>
hw/ide/macio.c

index 66ac2baa9483b368cfd3792d7494bd01a8cfb091..893c9b9bae342b3749987144cd367fc513f74ed6 100644 (file)
@@ -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 = {