From patchwork Mon Nov 26 18:28:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corey Minyard X-Patchwork-Id: 10698915 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7539813AD for ; Mon, 26 Nov 2018 18:29:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69AE02A0A2 for ; Mon, 26 Nov 2018 18:29:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E4102A34D; Mon, 26 Nov 2018 18:29:43 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 10BDF2A34E for ; Mon, 26 Nov 2018 18:29:42 +0000 (UTC) Received: from localhost ([::1]:38152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRLdd-00016k-N1 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 26 Nov 2018 13:29:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRLcy-0000fu-BU for qemu-devel@nongnu.org; Mon, 26 Nov 2018 13:29:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRLcv-0005jK-5X for qemu-devel@nongnu.org; Mon, 26 Nov 2018 13:29:00 -0500 Received: from mail-io1-xd44.google.com ([2607:f8b0:4864:20::d44]:46995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRLcu-0005iv-VA for qemu-devel@nongnu.org; Mon, 26 Nov 2018 13:28:57 -0500 Received: by mail-io1-xd44.google.com with SMTP id v10so9118995ios.13 for ; Mon, 26 Nov 2018 10:28:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=swm+OrKyl0dLqNVLqSPH3E4N+5rTPPPuR2aVQOrApuY=; b=BOyu4ejirn3ABHrCGJSNqxRYl8aPfcVwy3f7eZi+XpPdO8rKeS2RNaGfLJRmMQiRrX iNAmFTpp5Sxp6GFjxFgLg1kHsMkl+tOMIjCwhinJNaHAzZ9SDi3c5+JbUUYOmvpy9djY dc5yizPsyFWXP7436GstHE8g3BI+OeyuKTkwPXvnCwuKeawrsIDtm57nvv60GTLFsFAD sjIYv7ma1wNCW7ed4aQws0oqCX8dkbO5uG7j4L6c2VaR1D7ZJGMxnQGvUG6KfhL/Lks+ XA5vX9O0yltIIhUg5IG38FEWzedt6883gUjy959zHu/+ovzQXkbwz7zMHbjc06si3UGB 32FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=swm+OrKyl0dLqNVLqSPH3E4N+5rTPPPuR2aVQOrApuY=; b=XuNIP2WJR2ktlyIpIRehFXIdBfywaFRM8V2uJ7ga9dT2Ebut2SE0xxPtxLne8WAZ9b 0gwDokagyq1JJcrUub+kC0pWp+0a7Pk7cxGgOI91qpv21FwE5i6xfnjNglj4Scq2Ne4Q PphUnV7Zc91yueOCIWg3Xi++zXzD2msqKfBJZftMUPBxwraqFs1UUcpMcHWE6JSwyxbv g13/UUXUVI9hqXrBRI3d+C95g6WxP4hGmb1gNQPf27M/dsYhusAi66NR5FA1/v7b/MnJ N7aeAp7Fm6SWKv9rGywUX+N+yxjor5OS9Bd0gmCEOmOP2jXxo13paipx/vbWHXjm+zZv pVpA== X-Gm-Message-State: AA+aEWaonsmhsTu+3aAss3ZlCeJCsjpEHpD4L0bK2S2mHbTgb0ndBQQv jgkAK0OfGYRNfRNXECTbww== X-Google-Smtp-Source: AFSGD/UC1jFmsSsMAgPyTC8P5Yl1IOYHI7l2+g2qM6xifkUpCx6GuNcNnV/rlLXULbY0rD6o2a2+Xw== X-Received: by 2002:a5d:83cb:: with SMTP id u11mr21725057ior.257.1543256936084; Mon, 26 Nov 2018 10:28:56 -0800 (PST) Received: from serve.minyard.net ([47.184.128.64]) by smtp.gmail.com with ESMTPSA id t2sm444504iob.7.2018.11.26.10.28.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 10:28:55 -0800 (PST) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id F0C59850; Mon, 26 Nov 2018 12:28:53 -0600 (CST) Received: by t430.minyard.net (Postfix, from userid 1000) id A0A19301462; Mon, 26 Nov 2018 12:28:53 -0600 (CST) From: minyard@acm.org To: qemu-devel@nongnu.org Date: Mon, 26 Nov 2018 12:28:44 -0600 Message-Id: <20181126182844.23109-1-minyard@acm.org> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d44 Subject: [Qemu-devel] [PATCH] pc:piix4: Update smbus I/O space after a migration 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: Igor Mammedov , Corey Minyard , "Michael S . Tsirkin" Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Corey Minyard Otherwise it won't be set up correctly and won't work after miigration. Signed-off-by: Corey Minyard Cc: Michael S. Tsirkin Cc: Igor Mammedov --- hw/acpi/piix4.c | 1 + 1 file changed, 1 insertion(+) A rather obvious fix, in hindsight :). diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c index e330f24c71..2f4dd03b83 100644 --- a/hw/acpi/piix4.c +++ b/hw/acpi/piix4.c @@ -173,6 +173,7 @@ static int vmstate_acpi_post_load(void *opaque, int version_id) PIIX4PMState *s = opaque; pm_io_space_update(s); + smbus_io_space_update(s); return 0; }