diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2017-09-11 23:32:35 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2017-09-11 23:32:35 +0000 |
commit | 233ec8fc888d117728fe67bd3c1736e381f72824 (patch) | |
tree | 91f1659c06df02a381579639529039f55165d20c /share/man/man4/man4.sparc64/mem.4 | |
parent | 672141bdbfb5418d600b9d52ca665b8a4813ad75 (diff) |
add functions to provide direct access to guest memory as vmd addresses
iovec_mem() populates an iovec array based on guest physical
addresses. this allows the use of things like readv and writev for
moving data between the guest and a disk image file without having
to bounce the memory.
vaddr_mem() provides a vmd usable pointer based on a guests physical
address. this makes it possible to directly reference things like
virtio rings without having to bounce that memory either. however,
it assumes that a contiguous range of guest physical memory will
sit in a single vm memory range. mlarkin@ says this is right.
ok mlarkin@
Diffstat (limited to 'share/man/man4/man4.sparc64/mem.4')
0 files changed, 0 insertions, 0 deletions