summary refs log tree commit diff stats
path: root/scripts/block-coroutine-wrapper.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-09-22 10:38:17 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2020-10-05 09:35:52 +0100
commitf68453237b9c97f7d1948236a359524c45d7e2d8 (patch)
treeed1db47dfd9a2c48942ea2eb68b39a2f1dea1b2a /scripts/block-coroutine-wrapper.py
parentb02c01a513a17e03e2245feff19b3dcc8c408859 (diff)
downloadfocaccia-qemu-f68453237b9c97f7d1948236a359524c45d7e2d8.tar.gz
focaccia-qemu-f68453237b9c97f7d1948236a359524c45d7e2d8.zip
block/nvme: Map doorbells pages write-only
Per the datasheet sections 3.1.13/3.1.14:
  "The host should not read the doorbell registers."

As we don't need read access, map the doorbells with write-only
permission. We keep a reference to this mapped address in the
BDRVNVMeState structure.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200922083821.578519-3-philmd@redhat.com>
Diffstat (limited to 'scripts/block-coroutine-wrapper.py')
0 files changed, 0 insertions, 0 deletions