diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-09-22 10:38:17 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-10-05 09:35:52 +0100 |
commit | f68453237b9c97f7d1948236a359524c45d7e2d8 (patch) | |
tree | ed1db47dfd9a2c48942ea2eb68b39a2f1dea1b2a /block/gluster.c | |
parent | b02c01a513a17e03e2245feff19b3dcc8c408859 (diff) | |
download | qemu-f68453237b9c97f7d1948236a359524c45d7e2d8.zip qemu-f68453237b9c97f7d1948236a359524c45d7e2d8.tar.gz qemu-f68453237b9c97f7d1948236a359524c45d7e2d8.tar.bz2 |
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 'block/gluster.c')
0 files changed, 0 insertions, 0 deletions