From nobody Thu Nov 6 01:10:29 2025 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; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 153829645037644.84387215101981; Sun, 30 Sep 2018 01:34:10 -0700 (PDT) Received: from localhost ([::1]:54315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6XAy-0004UW-9G for importer@patchew.org; Sun, 30 Sep 2018 04:34:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6Wrr-0002kx-6M for qemu-devel@nongnu.org; Sun, 30 Sep 2018 04:14:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6Wrl-0000yh-8h for qemu-devel@nongnu.org; Sun, 30 Sep 2018 04:14:18 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:52067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6Wri-0000ww-0H for qemu-devel@nongnu.org; Sun, 30 Sep 2018 04:14:10 -0400 Received: by mail-wm1-x342.google.com with SMTP id y25-v6so5779414wmi.1 for ; Sun, 30 Sep 2018 01:14:09 -0700 (PDT) Received: from 640k.lan (94-36-187-248.adsl-ull.clienti.tiscali.it. [94.36.187.248]) by smtp.gmail.com with ESMTPSA id u76-v6sm11369194wmd.10.2018.09.30.01.14.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 01:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=SDjsq5t9IL+eDtSdrRi9RlRZGy2jQnzjjsI7mXGJyHI=; b=LJIGHPZNCKR3M+YnvSSQTpYRybJt2IU9ZCb46SG7Zl2KJ16Ub9GbCz/XKRXTTSHrzX hOJwcvZxo9HYz+gxjKXC8pb5O+F+7jUi1FPlnwf7D3T3BrXtWmUbZOWWGkmT378FPeDO L3dmlAJdgp9jPcb4tMcNkIZNDmybVdNnV1EbDxMBuJqVuiBSCciXnqu5cK4nXPro+c0x emKCLwtCLd65aD9OaRlFPcWOQ2pqudQF2Z5hx/jXrHaCBzeUKUtFtinej+frfezVX3G5 0lVRq1EWcugD1Yxllr3FhD+Yb/PhYyzxYaZ6fLrKu2nKr+1+L2XLAhgUcTcwKWxbfdJE tVvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=SDjsq5t9IL+eDtSdrRi9RlRZGy2jQnzjjsI7mXGJyHI=; b=PbJKKg1ZrUEhAAsICXZo+mTKv02U0toohfOdEdnRJPln5q2lCzmr5fqxpBEZyKSluz GyaGRi6VnwJ+nugNhLHw2hSETaOS9rVEasQ8fxniXNt+6KB5BimYSizNy5Ui+9HdwR1K 15uUQO9hjgBxgQppOJ/jydQlBjpgfQZyYIn1zgSk2YTk6MBw+z2kwrlSSzHmXZXSk9AJ 7wXgY8hxkpuVURiUF9QQbivAwp4+XPySAdjDM1TtCT3POBBPMtfzlbrq81B1Et8tIkNe Z/NMXFJSQiQgGAnHIymWaKNzLCpNLch3rhxyICy+nat5j0DV4DwdzTZwDUe0cj0g4HT2 Qfqw== X-Gm-Message-State: ABuFfoj1AFkDLb+TGFy8K0+XFYNHlrFLd+h8uqd0es5E1Ez0pHU5PzRL vmuyFj+Un9leXN7yj+I39m8PJVKH X-Google-Smtp-Source: ACcGV60S5nfEp3JhkoZqGhPkHGeeb9/UQEbcYMVmnmUGhz9ToadZ78OzypwcDOXRXSsaQl+nAv8bxg== X-Received: by 2002:a1c:1dc8:: with SMTP id d191-v6mr1178001wmd.27.1538295248719; Sun, 30 Sep 2018 01:14:08 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Sun, 30 Sep 2018 10:12:44 +0200 Message-Id: <1538295197-23704-47-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1538295197-23704-1-git-send-email-pbonzini@redhat.com> References: <1538295197-23704-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 Subject: [Qemu-devel] [PULL 46/79] hw: debugexit: add read callback 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: Li Qiang Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 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: Li Qiang Signed-off-by: Li Qiang Message-Id: <20180912160118.21158-3-liq3ea@163.com> Signed-off-by: Paolo Bonzini --- hw/misc/debugexit.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/misc/debugexit.c b/hw/misc/debugexit.c index 84fa1a5..bed2932 100644 --- a/hw/misc/debugexit.c +++ b/hw/misc/debugexit.c @@ -23,6 +23,11 @@ typedef struct ISADebugExitState { MemoryRegion io; } ISADebugExitState; =20 +static uint64_t debug_exit_read(void *opaque, hwaddr addr, unsigned size) +{ + return 0; +} + static void debug_exit_write(void *opaque, hwaddr addr, uint64_t val, unsigned width) { @@ -30,6 +35,7 @@ static void debug_exit_write(void *opaque, hwaddr addr, u= int64_t val, } =20 static const MemoryRegionOps debug_exit_ops =3D { + .read =3D debug_exit_read, .write =3D debug_exit_write, .valid.min_access_size =3D 1, .valid.max_access_size =3D 4, --=20 1.8.3.1