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: 152062 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp195365ljp; Mon, 26 Nov 2018 10:29:16 -0800 (PST) X-Google-Smtp-Source: AJdET5d5PUR8rx5zd6v4u1La/PsF6NbnYH8fja08TSkGZEoUgzNclRfSZ3nafOqCcGQ7ww1h2qKt X-Received: by 2002:a81:ae42:: with SMTP id g2mr29776212ywk.151.1543256956202; Mon, 26 Nov 2018 10:29:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543256956; cv=none; d=google.com; s=arc-20160816; b=eA18Tv7HiySeq1Ur5RrQpx3R6+PggK23uZz8SjkZIoh9PVL6V+7xkNQIVL4RVhiaY2 o0lnfnABcT9jN6Vrv1H+a1sLDnMmMo1Mi4f35AHbqWkMrhpPVO/Q8y2JO3oUqrVxMVxg Sz7W4UceSJEcx/GLHbj8z0/DXqDjtD/cXIvWhbCOW0gJ2ZL1V8VPhe/+VIv7LUDkYGlM OpPxACCFHzzFWqSczjjKiPsuviXjm6iunIT/s4tzRuJb8ZOXvx5ga2fBvFBJRI2QNkk5 NsIcFqyLwAaKALyvHxMi74fyEDuT6n2EOFMhknVRM59999xkKUq38Wquq57pC1cDQ46o Y5AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :dkim-signature; bh=swm+OrKyl0dLqNVLqSPH3E4N+5rTPPPuR2aVQOrApuY=; b=TtAJ2/dobBtMBcFJsrc6BCQfMIyvy/6GxJHMc5sHGeIVYzbAXju0EUpM2V5D8UaxzG 1arGgnjzmg/shqtWoqe78KoEbfzXGPYZ6xp3p4F/2fcnOwXc7JNOwqUt8KlUxUZkzDT6 /rhxu9n9/TXpvIUaOFYTBkisObr1CDzBcayHVDsA9NrWE2gmgfqBi4tSBByVcOcsLfYD 2B73VFHD+iCEIAL2sd04qJHKz6mX0poE3iZ+L6AXhVhBlZ85B6HuzChRXjUrJ79SbTcJ p44XdNOxuk24/Tb0d6/yLwP91hjZU4u2KqqLjLd9xC6kapAXEQe5cjRaAFsmx6f4uTjF 9SAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BOyu4eji; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s14-v6si813981ybi.436.2018.11.26.10.29.16 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 26 Nov 2018 10:29:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BOyu4eji; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:38151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRLdD-0000gx-Ja for patch@linaro.org; Mon, 26 Nov 2018 13:29:15 -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-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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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 :). -- 2.17.1 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; }