qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH 06/10][TRIVIAL] macio-ide: add to storage category


From: Laurent Vivier
Subject: [Qemu-trivial] [PATCH 06/10][TRIVIAL] macio-ide: add to storage category
Date: Sat, 26 Sep 2015 18:22:08 +0200

macio-ide is an IDE controller, so add it
to the storage category.

Signed-off-by: Laurent Vivier <address@hidden>
---
 hw/ide/macio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index 66ac2ba..893c9b9 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 = {
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]