Received: from eggs.gnu.org ([2001:4830:134:3::10]:43633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvV1C-0002IR-6K for qemu-devel@nongnu.org; Tue, 04 Apr 2017 16:25:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvV1B-0003CI-GR for qemu-devel@nongnu.org; Tue, 04 Apr 2017 16:25:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40096) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cvV1B-0003Bu-Aq for qemu-devel@nongnu.org; Tue, 04 Apr 2017 16:25:33 -0400 From: Eduardo Habkost Date: Tue, 4 Apr 2017 17:24:20 -0300 Message-Id: <20170404202429.14643-13-ehabkost@redhat.com> In-Reply-To: <20170404202429.14643-1-ehabkost@redhat.com> References: <20170404202429.14643-1-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v2 12/21] isabus-bridge: Remove user_creatable flag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Laszlo Ersek , Thomas Huth , Alexander Graf , Peter Maydell , Marcel Apfelbaum , Markus Armbruster , "Michael S. Tsirkin" 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 Cc: "Michael S. Tsirkin" Signed-off-by: Eduardo Habkost --- Changes v1 -> v2: * (none) --- hw/isa/isa-bus.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c index ad4ac3b4f6..348e0eab9d 100644 --- a/hw/isa/isa-bus.c +++ b/hw/isa/isa-bus.c @@ -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 = { -- 2.11.0.259.g40922b1