aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/isa-bus.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-01-20 16:53:59 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2017-01-24 23:26:54 +0300
commit5658ffa39aae034458231bc4abfee57637b88c6e (patch)
treeb3f35b20c773d91e93a217d2deaacf56acc748b6 /hw/isa/isa-bus.c
parentcdab4dc01a38146543d5c0d0d09433cd4b776936 (diff)
downloadqemu-5658ffa39aae034458231bc4abfee57637b88c6e.zip
qemu-5658ffa39aae034458231bc4abfee57637b88c6e.tar.gz
qemu-5658ffa39aae034458231bc4abfee57637b88c6e.tar.bz2
hw/isa/isa-bus: Set category of the "isabus-bridge" device
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>
Diffstat (limited to 'hw/isa/isa-bus.c')
-rw-r--r--hw/isa/isa-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c
index 9d07b11..0ffbc8d 100644
--- 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";
}