From patchwork Tue Dec 18 16:11:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 154161 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3894823ljp; Tue, 18 Dec 2018 08:14:12 -0800 (PST) X-Google-Smtp-Source: AFSGD/WOsZ0n5grhPK3cN/KU0hLBS33+o4HZGrqbCPX6D0+Fs1pojSTlQhM9meKlq+TFdxTQnosg X-Received: by 2002:ac8:296a:: with SMTP id z39mr18509708qtz.264.1545149652322; Tue, 18 Dec 2018 08:14:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545149652; cv=none; d=google.com; s=arc-20160816; b=wLUQlYSm8KXVQb+pTqk90uqoqKIOEGSIvzpcn7TU4GvGyyVYE8Oy8B5rVaM3Mdd5lf UZj2jDBLbZunS/jgFBjLIq4C0WY7tKP/9UwHfTURiVgW/L8/tp7wVwHQ9a8KObswkgux vU/1Z1G2mBSpqru/8ViIVatScBSpQOb3+2OdTh1qIACb+EX3A8B5zhKO7+sqekqHqNBt evfqi9W29WUnjzspw0tIM4X9P0zOKn13y/gD10f0r6XKrpIN8hDzVB/QfRIetWajiWFc RpIdQG8tp3b4V635mMF4LgKME8w6FegUymzgQkJCV7JtNe4z7t2cGRZArg2Lb3g31R2S OMPA== 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:in-reply-to :content-disposition:mime-version:references:message-id:to:from:date; bh=APX8xXlakQK8qnDhL8vBHRhvDFK+RrF2p2zehhd9400=; b=FF+ASbaISDeXzSFtxL3B98Vi+QghYo25IibKHKbEZxOWgu21PSd75vxEthOM6g3cWz nSfFwJ7LIyHWVPGg7N054IqRx86cR8LPOXJ7NXuwV5qEd7CEGj26o0PouGnNquY4NEid 8GeVnMQHTTQ+Bao6TNQki1rWdLzX9sFuUveD8nQgWyEnLD57jsZL9P+W07epI4UO3ZjP R1m2AuRgtFF7JuBzjHvHMgos4N6VGvz4AGH8tD3lFLxIJ5KYQWShp74R2LvCdl+YXnxs wPtZhv65hTq3Im7sj3o18FJhxHL3MLA5X73BB02Pc00xFbbFG+PLYU39iDmYLBIzGrek QKaQ== ARC-Authentication-Results: i=1; mx.google.com; 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"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g22si215024qtb.402.2018.12.18.08.14.12 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 18 Dec 2018 08:14:12 -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; 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"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:54812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZI0Z-0006BH-KL for patch@linaro.org; Tue, 18 Dec 2018 11:14:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZHxr-0004fV-V4 for qemu-devel@nongnu.org; Tue, 18 Dec 2018 11:11:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZHxl-0001Po-1U for qemu-devel@nongnu.org; Tue, 18 Dec 2018 11:11:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60626) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gZHxk-0001NJ-R4; Tue, 18 Dec 2018 11:11:16 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9D0CCC0740E7; Tue, 18 Dec 2018 16:11:15 +0000 (UTC) Received: from redhat.com (ovpn-120-67.rdu2.redhat.com [10.10.120.67]) by smtp.corp.redhat.com (Postfix) with SMTP id B137C60123; Tue, 18 Dec 2018 16:11:11 +0000 (UTC) Date: Tue, 18 Dec 2018 11:11:11 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <20181218161008.3882-3-mst@redhat.com> References: <20181218161008.3882-1-mst@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181218161008.3882-1-mst@redhat.com> X-Mutt-Fcc: =sent X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 18 Dec 2018 16:11:15 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL v2 02/30] 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: Peter Maydell , Igor Mammedov , qemu-stable@nongnu.org, Corey Minyard 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: Igor Mammedov Cc: qemu-stable@nongnu.org Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/acpi/piix4.c | 1 + 1 file changed, 1 insertion(+) -- MST 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; }