Skip to content
Snippets Groups Projects
Commit 0980a1c0 authored by Eduardo Habkost's avatar Eduardo Habkost
Browse files

isabus-bridge: Remove user_creatable flag


isabus-bridge needs to be created by isa_bus_new(), and won't
work with -device, as it won't create the TYPE_ISA_BUS bus
itself. Remove the user_creatable flag from the device class.

Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170503203604.31462-13-ehabkost@redhat.com>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent c803129c
No related branches found
No related tags found
No related merge requests found
......@@ -221,11 +221,6 @@ static void isabus_bridge_class_init(ObjectClass *klass, void *data)
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
dc->fw_name = "isa";
/*
* FIXME: Set only because we are not sure yet if this device
* will be outside the q35 sysbus whitelist.
*/
dc->user_creatable = true;
}
static const TypeInfo isabus_bridge_info = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment