Message ID | 1538295197-23704-47-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LJIGHPZN"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42NJZb4WPvz9s4V for <incoming@patchwork.ozlabs.org>; Sun, 30 Sep 2018 18:32:55 +1000 (AEST) Received: from localhost ([::1]:54310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1g6X9p-0002Zu-4a for incoming@patchwork.ozlabs.org; Sun, 30 Sep 2018 04:32:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) 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 <paolo.bonzini@gmail.com>) 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 <paolo.bonzini@gmail.com>) 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 <qemu-devel@nongnu.org>; Sun, 30 Sep 2018 01:14:09 -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) 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) From: Paolo Bonzini <pbonzini@redhat.com> 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Li Qiang <liq3ea@gmail.com> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/79] virtio: Return true from virtio_queue_empty if broken
|
expand
|
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; +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, uint64_t val, } static const MemoryRegionOps debug_exit_ops = { + .read = debug_exit_read, .write = debug_exit_write, .valid.min_access_size = 1, .valid.max_access_size = 4,