diff options
author | Laurent Vivier <laurent@vivier.eu> | 2015-09-26 18:22:04 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2015-10-23 12:35:17 +1100 |
commit | 74623e7369b175fa324421f4c0047d06da3baafc (patch) | |
tree | c241cf93c405c26f36d8759fe19de041f8f28cbd /hw/ide/cmd646.c | |
parent | 32f3a8992ea28a194678832eec1e1ffc09cbb7b1 (diff) | |
download | hqemu-74623e7369b175fa324421f4c0047d06da3baafc.zip hqemu-74623e7369b175fa324421f4c0047d06da3baafc.tar.gz |
cmd646: add to storage category
cmd646 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>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ide/cmd646.c')
-rw-r--r-- | hw/ide/cmd646.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 66fb9d9..27f3da2 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 = { |