From patchwork Thu Dec 20 18:37:45 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: 154355 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp12634ljp; Thu, 20 Dec 2018 10:45:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/WrEyph2w6QJPsPPT3uTmg/r1xCocx4ngFBgxUXgjieQmfmoUImukPB3XNf5pErGiwbQwta X-Received: by 2002:a37:64d3:: with SMTP id y202mr25125863qkb.266.1545331503565; Thu, 20 Dec 2018 10:45:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545331503; cv=none; d=google.com; s=arc-20160816; b=RbpPwjX6R8I/mI/7YH9dCd/zjON/xATIrNv5A3Ou+bjNq+1Ji02jGWT4JvMUUtjgzX 9SPi+Jl8pjDnWzDoiiG69uGnwQJWKw4wZmlXea3EegL+ipQh7Eii4zXqcbUOKgpkbgYu GxUBxs8+XfbUkBUE15QaFH2zrcl0kSIedUog5hlmK0e3OIg4kanm3mFaUhIr9b/8UHGQ mlzWwBMJUyRckz2HKmURzahtGBfoGA+9eGCI3j2GcSS6dggDFt6pR+Z19dUYs+FXYjVL dPG0SogQARi72hSEBBbw44ddQgO7FGAgccapITNvf4f7qeRufNwKsBoHs7YEOpgAmQhG ll+w== 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=Zgs/Bx9UvGG/POGKxZg6rYx1hdmQmEej5QrBtR+arYs6VsEdRHNxzDyIlwmVHNkLZS mzgPrBedvoZ9E4KGg6xwm7HpV/hyVBF7JH3ngMnBtU3JvVoq27hO+Y02HfeVJoM/S6i7 Tw+h9Uk0qKGp0pGfP10eV/e2nyT93eJKGLg0fUhabpe+8eaU19AjCYdkm8+0STux9W+5 ZLfNLbPRpRYE7mpab+oD0YNltgySXNrXoHShI+bjpgtuEiUqiy9tDp4C5zkniHpke3EE qu1I9MPRReNiskJDkEgwC6BZemoLudcxqnPeaAgvI9Lop2Xc3uQqL7LQriw1TAlJCkBo kTKQ== 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 j135si1211002qke.218.2018.12.20.10.45.03 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 20 Dec 2018 10:45:03 -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]:39287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga3Jf-0008Kt-1a for patch@linaro.org; Thu, 20 Dec 2018 13:45:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga3Cr-0003ct-4I for qemu-devel@nongnu.org; Thu, 20 Dec 2018 13:38:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ga3Cf-0006Zg-LL for qemu-devel@nongnu.org; Thu, 20 Dec 2018 13:37:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46966) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ga3Cd-0006Vs-Pl; Thu, 20 Dec 2018 13:37:47 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 00D5B6CE; Thu, 20 Dec 2018 18:37:47 +0000 (UTC) Received: from redhat.com (ovpn-122-182.rdu2.redhat.com [10.10.122.182]) by smtp.corp.redhat.com (Postfix) with SMTP id E28E64138; Thu, 20 Dec 2018 18:37:45 +0000 (UTC) Date: Thu, 20 Dec 2018 13:37:45 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <20181220183059.20726-3-mst@redhat.com> References: <20181220183059.20726-1-mst@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181220183059.20726-1-mst@redhat.com> X-Mutt-Fcc: =sent X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 20 Dec 2018 18:37:47 +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 v3 02/44] 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; }