From nobody Wed Feb 11 03:03:31 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1508214413951150.65567459936676; Mon, 16 Oct 2017 21:26:53 -0700 (PDT) Received: from localhost ([::1]:36359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4JSs-0003Q1-57 for importer@patchew.org; Tue, 17 Oct 2017 00:26:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4JOP-0008GK-Mq for qemu-devel@nongnu.org; Tue, 17 Oct 2017 00:22:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4JOO-0006rc-JS for qemu-devel@nongnu.org; Tue, 17 Oct 2017 00:22:13 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:50585) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4JON-0006pq-S0; Tue, 17 Oct 2017 00:22:12 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 3yGMTq0F49z9sRn; Tue, 17 Oct 2017 15:22:06 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1508214127; bh=4JkddysFpsun7SlYfRDY+mcFgJS9va3wQmoYxIoTpKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ROrtoBz9Qh3b3l+aZo9oBkUMkWXBN4r5iieZSPLt6+mkwYAZnzBXUhyiKQQpuM35a w7AzM+j7iahGJzEAxLZ6C1i9gW6qeUuPPn4KkCQlUhzf+9YLlgPY6GshJZd7WSo9MX yIvb637r+3SszTtyCJXrRqBBoCz3CRNk6xWAWleA= From: David Gibson To: peter.maydell@linaro.org Date: Tue, 17 Oct 2017 15:21:19 +1100 Message-Id: <20171017042152.29443-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171017042152.29443-1-david@gibson.dropbear.id.au> References: <20171017042152.29443-1-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2401:3900:2:1::2 Subject: [Qemu-devel] [PULL 01/34] macio: add missing registers to VMStateDescription 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: agraf@suse.de, ehabkost@redhat.com, Mark Cave-Ayland , qemu-devel@nongnu.org, groug@kaod.org, qemu-ppc@nongnu.org, imammedo@redhat.com, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Mark Cave-Ayland Commit 4f7265f "ppc/ide/macio: Add missing registers" added two extra macio registers but forgot to add them to the corresponding VMStateDescription. The version number is bumped accordingly, although this will have little effect given that the Mac machines are practically unmigratable. Signed-off-by: Mark Cave-Ayland Acked-by: John Snow Signed-off-by: David Gibson --- hw/ide/macio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/ide/macio.c b/hw/ide/macio.c index ce194c6cec..2e043ef1ea 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -353,12 +353,14 @@ static const MemoryRegionOps pmac_ide_ops =3D { =20 static const VMStateDescription vmstate_pmac =3D { .name =3D "ide", - .version_id =3D 4, + .version_id =3D 5, .minimum_version_id =3D 0, .fields =3D (VMStateField[]) { VMSTATE_IDE_BUS(bus, MACIOIDEState), VMSTATE_IDE_DRIVES(bus.ifs, MACIOIDEState), VMSTATE_BOOL(dma_active, MACIOIDEState), + VMSTATE_UINT32(timing_reg, MACIOIDEState), + VMSTATE_UINT32(irq_reg, MACIOIDEState), VMSTATE_END_OF_LIST() } }; --=20 2.13.6