From patchwork Wed Jan 25 01:43:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ben@skyportsystems.com X-Patchwork-Id: 9536299 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0705760434 for ; Wed, 25 Jan 2017 01:56:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA49126E69 for ; Wed, 25 Jan 2017 01:56:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCCD427D5E; Wed, 25 Jan 2017 01:56:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4EE4326E69 for ; Wed, 25 Jan 2017 01:56:00 +0000 (UTC) Received: from localhost ([::1]:56794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWCoZ-0003zf-W8 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 24 Jan 2017 20:56:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWCcz-0003i8-C9 for qemu-devel@nongnu.org; Tue, 24 Jan 2017 20:44:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWCcy-0005Oc-NH for qemu-devel@nongnu.org; Tue, 24 Jan 2017 20:44:01 -0500 Received: from mail-yw0-x231.google.com ([2607:f8b0:4002:c05::231]:34457) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWCcy-0005OQ-Ia for qemu-devel@nongnu.org; Tue, 24 Jan 2017 20:44:00 -0500 Received: by mail-yw0-x231.google.com with SMTP id w75so3588687ywg.1 for ; Tue, 24 Jan 2017 17:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skyportsystems.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=Dz0td0mCOKq1x8iHhikYj1Z/1fIpjeGhHFwXkA8MF30=; b=FWjH7CYXnp8JF7gT/xIYrNvwFfZtE06Sj9GZWMsmudjGzlowKxg6fJdR8cDESS7iEo c4MbfDD7iMm4hsI3rkjiat42ICaUMQbftfe/exgY9bL+Fp14tTE601c1gWuER0gxIdFe PSpKKT70hG+zryUdmEGw2bzrSvAgsWEuZ9C+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=Dz0td0mCOKq1x8iHhikYj1Z/1fIpjeGhHFwXkA8MF30=; b=nj7k2WnYqGdjDTfOrCNSPt+SXkKeJkX8V5QAoIASr+0bqoJBShSXxE0ycER4ifUF4F 3tvfR42ZXFoIpYs9yuwD9MTluUTVDTt+4pj1BPD8fzVXD5PfLI/RGDI3k2gwP7iaUPN9 P3pRTNozx0HuvIbCqjPzdclk1IyRQFsaE5T5dyWxZcBYWbD28fcKHjbWJnDSCkgRWjTW PUx4sJhSqFaymM+4gRB/+ppjI5FoqXAvbZEBiN7VyJNto+v9dVGVrQSvDQFkT0ZM0H3i Jjt6ZOyUdhI2pmzp5lUA9qBEBI9UM30OcKDqiT/QtWNEtAX/MXrw7rPqkaUFrkGMUL9W OFrA== X-Gm-Message-State: AIkVDXKyIXiNue5OSw2ac/UrLnPM3y/WHBuEbZ6LNlnvBAeBiydojHZB5pQCyU6ET6PDU/yC X-Received: by 10.129.161.214 with SMTP id y205mr28937029ywg.190.1485308639867; Tue, 24 Jan 2017 17:43:59 -0800 (PST) Received: from Arrow.corp.skyportsystems.com (162-199-88-38.lightspeed.sntcca.sbcglobal.net. [162.199.88.38]) by smtp.gmail.com with ESMTPSA id w126sm10757317yww.41.2017.01.24.17.43.58 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Jan 2017 17:43:59 -0800 (PST) From: ben@skyportsystems.com To: qemu-devel@nongnu.org Date: Tue, 24 Jan 2017 17:43:26 -0800 Message-Id: <5c6a8bfb4e36acec297d39e2381cb5ed022265f1.1485308342.git.ben@skyportsystems.com> X-Mailer: git-send-email 2.10.1 (Apple Git-78) In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::231 Subject: [Qemu-devel] [PATCH v4 7/9] PC: Support dynamic sysbus on pc_i440fx X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ben Warren Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Ben Warren This allows pc_i440fx-based machines to add new devices such as VM Generation ID directly to the sysbus. Signed-off-by: Ben Warren --- hw/i386/pc_piix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 9f102aa..c8ad99c 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -435,6 +435,7 @@ static void pc_i440fx_machine_options(MachineClass *m) m->hot_add_cpu = pc_hot_add_cpu; m->default_machine_opts = "firmware=bios-256k.bin"; m->default_display = "std"; + m->has_dynamic_sysbus = true; } static void pc_i440fx_2_9_machine_options(MachineClass *m)