projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f3a89
)
cmd646: add to storage category
author
Laurent Vivier
<laurent@vivier.eu>
Sat, 26 Sep 2015 16:22:04 +0000
(18:22 +0200)
committer
David Gibson
<david@gibson.dropbear.id.au>
Fri, 23 Oct 2015 01:35:17 +0000
(12:35 +1100)
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>
hw/ide/cmd646.c
patch
|
blob
|
history
diff --git
a/hw/ide/cmd646.c
b/hw/ide/cmd646.c
index 66fb9d96d5941bfdb79e4daee69bad6ac3e997a0..27f3da21a72cf70f4e5f9091a1ddf7cbf8ad8192 100644
(file)
--- 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 = {