From patchwork Mon Jan 23 07:32:52 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: 9531837 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 272A760434 for ; Mon, 23 Jan 2017 07:34:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1914420223 for ; Mon, 23 Jan 2017 07:34:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D37227D45; Mon, 23 Jan 2017 07:34:23 +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 9E6DA20223 for ; Mon, 23 Jan 2017 07:34:22 +0000 (UTC) Received: from localhost ([::1]:39528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVZ8v-0005Ib-M3 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 23 Jan 2017 02:34:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVZ8N-0005HV-4G for qemu-devel@nongnu.org; Mon, 23 Jan 2017 02:33:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVZ8M-0006pp-CE for qemu-devel@nongnu.org; Mon, 23 Jan 2017 02:33:47 -0500 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]:32817) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVZ8M-0006pf-6z for qemu-devel@nongnu.org; Mon, 23 Jan 2017 02:33:46 -0500 Received: by mail-pf0-x22d.google.com with SMTP id y143so39247482pfb.0 for ; Sun, 22 Jan 2017 23:33:46 -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=fKtM0MJye21pgYwmfZijTAANSnp4wWLL9PgNoJ1zwDU=; b=vQcVQrIAjjrj1kG+CIPO/RK31D/BKaEA929FlvR4nFLXLcjQ/RVNZ3BI6xchWSXwph Si9yo+UncrK3eNJbsAPxGAv7cQ/Rs5vlWUmMcV1uHgzGEa+qdW5Fh4uqOWDIEXTouaha uc+ktzYOM4SvRe/WjIKXk1vzZWivT6StOZvLA= 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=fKtM0MJye21pgYwmfZijTAANSnp4wWLL9PgNoJ1zwDU=; b=eqTJFae/nXeuPdiKaL4H9jm+OagyGTkBDO3NW6DdVnJhzscEYCgLnuPhGiLUGpgcVY 743lTDw9wKkOjsl0myAzvae+wlOINoc00Q43pSWJIDvZHmF6FCr18JyOF1vGS+TZV9Hi fsGR1D9b8dALh9tBwBTFGrH6a+XuLfcIPYhQH/okUfuDfSNvJh6X7zwJFITYZHl/4g0h C2HN0zLFOHWYO3wzbJ5OQFz94G/byZsn03raz6JCgS5jWyT0Hwv6ZnAto85ky9+WkKsb cbT8GA6zr6XuSgDX1BCLD4pgz5erCEa+UuDzbh92zfEnfUuwtx5oscSLXWpyTYeP8jhb 3qcw== X-Gm-Message-State: AIkVDXIHwV4Mk8hIByOlWiENyljcCKU6Lk/pwW0lAGZDGIwyvj3Fc+p0iBSzXSBI6T5Agrrg X-Received: by 10.98.27.149 with SMTP id b143mr30653699pfb.5.1485156825425; Sun, 22 Jan 2017 23:33:45 -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 d78sm34155810pfb.43.2017.01.22.23.33.44 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 22 Jan 2017 23:33:44 -0800 (PST) From: ben@skyportsystems.com To: qemu-devel@nongnu.org Date: Sun, 22 Jan 2017 23:32:52 -0800 Message-Id: <3e4eb32b6037a314042a00d99439922c6fef332f.1485155611.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:400e:c00::22d Subject: [Qemu-devel] [PATCH v3 6/6] 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)