[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] hw/isa/isa-bus: Set category of the "isabus-bridge"
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PATCH] hw/isa/isa-bus: Set category of the "isabus-bridge" device |
Date: |
Fri, 20 Jan 2017 16:53:59 +0100 |
It has "bridge" in its name, so it should be in the category
DEVICE_CATEGORY_BRIDGE.
Signed-off-by: Thomas Huth <address@hidden>
---
hw/isa/isa-bus.c | 1 +
1 file changed, 1 insertion(+)
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";
}
--
1.8.3.1
- [Qemu-devel] [PATCH] hw/isa/isa-bus: Set category of the "isabus-bridge" device,
Thomas Huth <=