diff options
| author | Thomas Huth | 2017-01-20 16:53:59 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2017-01-24 21:26:54 +0100 |
| commit | 5658ffa39aae034458231bc4abfee57637b88c6e (patch) | |
| tree | b3f35b20c773d91e93a217d2deaacf56acc748b6 | |
| parent | usb: Set category and description of the MTP device (diff) | |
| download | qemu-5658ffa39aae034458231bc4abfee57637b88c6e.tar.gz qemu-5658ffa39aae034458231bc4abfee57637b88c6e.tar.xz qemu-5658ffa39aae034458231bc4abfee57637b88c6e.zip | |
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>
| -rw-r--r-- | hw/isa/isa-bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c index 9d07b118c0..0ffbc8dd28 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"; } |
