summary refs log tree commit diff stats
path: root/scripts/nsis.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2022-10-13 14:59:08 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2022-10-26 14:56:42 -0400
commitbaf422684d73c7bf38e2c18815e18d44fcf395b6 (patch)
tree3ed8a3693f381a50de97abceea510e30f6260294 /scripts/nsis.py
parentc5640b3e2f1146e8eea9f9f62db87713388d8bc8 (diff)
downloadfocaccia-qemu-baf422684d73c7bf38e2c18815e18d44fcf395b6.tar.gz
focaccia-qemu-baf422684d73c7bf38e2c18815e18d44fcf395b6.zip
virtio-blk: use BDRV_REQ_REGISTERED_BUF optimization hint
Register guest RAM using BlockRAMRegistrar and set the
BDRV_REQ_REGISTERED_BUF flag so block drivers can optimize memory
accesses in I/O requests.

This is for vdpa-blk, vhost-user-blk, and other I/O interfaces that rely
on DMA mapping/unmapping.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20221013185908.1297568-14-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/nsis.py')
0 files changed, 0 insertions, 0 deletions