From patchwork Thu May 29 11:05:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 31116 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8AE7C20068 for ; Thu, 29 May 2014 11:05:39 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ij19sf667453vcb.5 for ; Thu, 29 May 2014 04:05:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=EgS5AX7GkUedHSE2wZlBTWr2OM3GN1Rdn113ztrUvYM=; b=BTDx9KLRgzUoPeke94Hsyf8b+emDHI9sz1fLH1rBZw0UHuYaRKuwZ0bSaKPwjAS1ie jMA+C+n/YETn6JTKG7yP9gPy/gdwDCASiiaarxkw/KcCpuVhaV7m95jHXhDw0BD59nDK rP/ndm+PROyuJAmj+Na1s+cxtss2zzXzGPkNsfYaiTkbUwwiU7ihN3+EP6eSCDum4Ekw rs8yszphdcTUAN+w94p4udoKJBciQgsi8LRX0jerfgMCNK1BWJtCVSWgPJSGgXV8oTkw Dl909EBIBzDXBd2KRAuf9nKfjLPR3Whfyg5/J4TwYj/QVtnMJYrsuZuaWLRLvcSEyuiF OYpA== X-Gm-Message-State: ALoCoQleVUtr2p2khn3ZpoNBevLWn39FqGpGOyzzetwySlTmem0K0apxcoRF9HtAlghF5R9KIy6x X-Received: by 10.58.198.130 with SMTP id jc2mr2805909vec.9.1401361539337; Thu, 29 May 2014 04:05:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.134 with SMTP id t6ls536265qgd.20.gmail; Thu, 29 May 2014 04:05:39 -0700 (PDT) X-Received: by 10.220.113.207 with SMTP id b15mr261511vcq.55.1401361539265; Thu, 29 May 2014 04:05:39 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id p3si187689vcz.34.2014.05.29.04.05.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 May 2014 04:05:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id la4so170736vcb.35 for ; Thu, 29 May 2014 04:05:39 -0700 (PDT) X-Received: by 10.58.56.71 with SMTP id y7mr5790107vep.24.1401361539172; Thu, 29 May 2014 04:05:39 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp19142vcb; Thu, 29 May 2014 04:05:38 -0700 (PDT) X-Received: by 10.180.187.111 with SMTP id fr15mr58025490wic.57.1401361538340; Thu, 29 May 2014 04:05:38 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id dr8si20027923wid.73.2014.05.29.04.05.37 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 29 May 2014 04:05:38 -0700 (PDT) Received-SPF: none (google.com: pm215@archaic.org.uk does not designate permitted sender hosts) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Wpy9O-0006lm-5S; Thu, 29 May 2014 12:05:34 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, qemu-ppc@nongnu.org, Alexander Graf , Scott Wood Subject: [PATCH] hw/pci-host/ppce500: Fix typo in vmstate definition Date: Thu, 29 May 2014 12:05:34 +0100 Message-Id: <1401361534-25997-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Fix a typo in the ppce500_pci vmstate definition which meant that we were migrating the struct pci_inbound using the vmstate for pci_outbound. Fortunately the two structures have exactly the same format at the moment (four uint32_ts) so this was harmless, and we can correcting the typo without a migration compatibility break because the vmstate name doesn't go out on the wire. Signed-off-by: Peter Maydell --- Big fat disclaimer: I believe the remark about this not being a compat break to be true, but I haven't tested it! --- hw/pci-host/ppce500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c index c80b7cb..5ce7433 100644 --- a/hw/pci-host/ppce500.c +++ b/hw/pci-host/ppce500.c @@ -311,7 +311,7 @@ static const VMStateDescription vmstate_ppce500_pci = { VMSTATE_STRUCT_ARRAY(pob, PPCE500PCIState, PPCE500_PCI_NR_POBS, 1, vmstate_pci_outbound, struct pci_outbound), VMSTATE_STRUCT_ARRAY(pib, PPCE500PCIState, PPCE500_PCI_NR_PIBS, 1, - vmstate_pci_outbound, struct pci_inbound), + vmstate_pci_inbound, struct pci_inbound), VMSTATE_UINT32(gasket_time, PPCE500PCIState), VMSTATE_END_OF_LIST() }