projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdab4dc
)
hw/isa/isa-bus: Set category of the "isabus-bridge" device
author
Thomas Huth
<thuth@redhat.com>
Fri, 20 Jan 2017 15:53:59 +0000
(16:53 +0100)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 24 Jan 2017 20:26:54 +0000
(23:26 +0300)
It has "bridge" in its name, so it should be in the category
DEVICE_CATEGORY_BRIDGE.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/isa/isa-bus.c
patch
|
blob
|
history
diff --git
a/hw/isa/isa-bus.c
b/hw/isa/isa-bus.c
index 9d07b118c0d71a6c30d2fc10e3323047c137ed0b..0ffbc8dd280020e857e2eeab647d51d9934dc40e 100644
(file)
--- a/
hw/isa/isa-bus.c
+++ b/
hw/isa/isa-bus.c
@@
-219,6
+219,7
@@
static void isabus_bridge_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
+ set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
dc->fw_name = "isa";
}