From patchwork Tue Dec 18 04:16:46 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: 154050 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3255765ljp; Mon, 17 Dec 2018 20:25:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/UzBH1B7u3i+6XGwMA8KWOvyQRJZEaUEVwYLmqb4x+9+UUQxk7ToYciUAtjcvf3vWP8PmNP X-Received: by 2002:ac8:6949:: with SMTP id n9mr15921310qtr.308.1545107145707; Mon, 17 Dec 2018 20:25:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545107145; cv=none; d=google.com; s=arc-20160816; b=w+Pi7bFUhRZ+24Jj9M/fMAhQvpzHdJ7Wdj877WiDseyb4kJ+8fANHTC3rAepqfwK9y 7Dp6ujnL5U23z9ETchgDpJRw5YrDvWjkyXQpr5kOGZxzAPmkWCi/q8jlGjQXXaBgwQbk t18/DKvY8nSX1Q/ZJyEzZUpOgBe9VopzvCDZOgytuzFNL8DF/SPE4Vgxqo891P9f/bhE QzrGcuXs1i8742jx/Vl1MKuNUHnjJxqSxsgRWTwI6ybQVJcKfLg9AK9tIqiccjE56Mxu k2KsfbuO1pVQ3wYO8hqpAqNJttXiDSvznTzC8QNb1cx9kUtAdC7H63xqUIwWQleCrWTL vlEA== 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=O0c+g3mVqE5aon1R0OWw+oiy4zMPyasioivle0h0JvSXn+VGNzQkJd+iEKGHjjE+2P gAUGuoC68Ds4WntMGGi3Io/pv1PX6GqS+2WIRN+QCFgOs66Z2j7qrPsO2tRoDTACiQV4 MfahDlzVAnBuDqmfQbFPdXAyDxJuQavW/LvI03Fujm0332vYCiivg2sbIMVM0paQi+hV lN07R0UFoOGfbriWowZrbuxQNPIqPDF+ZBgVIw8LZmmKlINqvT0tX//xI9J4QH40Cvna P0y0x/dMB4uPTDXEqkrrRKrEONCH/NolYVRJAOk+CkTdiIUmRK4t01lgWwf2EpKHXBEW FjTA== 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 i59si3474qtd.195.2018.12.17.20.25.45 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Dec 2018 20:25:45 -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]:51618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZ6wz-0003Ym-39 for patch@linaro.org; Mon, 17 Dec 2018 23:25:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZ6oR-0004Rb-9q for qemu-devel@nongnu.org; Mon, 17 Dec 2018 23:16:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZ6oN-0006Cu-9v for qemu-devel@nongnu.org; Mon, 17 Dec 2018 23:16:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53990) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gZ6oN-0006Br-3g; Mon, 17 Dec 2018 23:16:51 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5CFF7C04D296; Tue, 18 Dec 2018 04:16:50 +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 42AAC5C21F; Tue, 18 Dec 2018 04:16:47 +0000 (UTC) Date: Mon, 17 Dec 2018 23:16:46 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <20181218041625.24969-3-mst@redhat.com> References: <20181218041625.24969-1-mst@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181218041625.24969-1-mst@redhat.com> X-Mutt-Fcc: =sent X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 18 Dec 2018 04:16:50 +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 02/31] 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; }