From: Laurent Vivier Date: Sat, 26 Sep 2015 16:22:04 +0000 (+0200) Subject: cmd646: add to storage category X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=74623e7369b175fa324421f4c0047d06da3baafc;p=people%2Fliuw%2Flibxenctrl-split%2Fqemu-xen.git cmd646: add to storage category cmd646 is an IDE controller, so add it to the storage category. Signed-off-by: Laurent Vivier Reviewed-by: Thomas Huth Signed-off-by: David Gibson --- diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 66fb9d96d..27f3da21a 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -417,6 +417,7 @@ static void cmd646_ide_class_init(ObjectClass *klass, void *data) k->config_read = cmd646_pci_config_read; k->config_write = cmd646_pci_config_write; dc->props = cmd646_ide_properties; + set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); } static const TypeInfo cmd646_ide_info = {