mirror of
https://github.com/mii443/qemu.git
synced 2025-09-02 07:09:47 +00:00
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>
This commit is contained in:
committed by
David Gibson
parent
32f3a8992e
commit
74623e7369
@ -417,6 +417,7 @@ static void cmd646_ide_class_init(ObjectClass *klass, void *data)
|
|||||||
k->config_read = cmd646_pci_config_read;
|
k->config_read = cmd646_pci_config_read;
|
||||||
k->config_write = cmd646_pci_config_write;
|
k->config_write = cmd646_pci_config_write;
|
||||||
dc->props = cmd646_ide_properties;
|
dc->props = cmd646_ide_properties;
|
||||||
|
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo cmd646_ide_info = {
|
static const TypeInfo cmd646_ide_info = {
|
||||||
|
Reference in New Issue
Block a user