diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-12-14 15:50:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 15:50:37 +0000 |
commit | f240c889171ab22e7b8b0b460792b0df94c335c1 (patch) | |
tree | c0a60b0dbd7f32ffac3b8caf8d1bbcfa8bfed491 /include/libvfio-user.h | |
parent | d7157efb22c9fc06f85e40f0e6b6c5e16dc5e8e2 (diff) | |
download | libvfio-user-f240c889171ab22e7b8b0b460792b0df94c335c1.zip libvfio-user-f240c889171ab22e7b8b0b460792b0df94c335c1.tar.gz libvfio-user-f240c889171ab22e7b8b0b460792b0df94c335c1.tar.bz2 |
return region capabilities a la VFIO (#187)
This patch returns region capabilities the same way VFIO does: if argsz
is not large enough then it returns only region info and sets argsz to
what it should be in order to fit the capabilities, the client then
retries with a large enough argsz. The protocol specification has been
updated as well.
Plus unit tests.
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'include/libvfio-user.h')
0 files changed, 0 insertions, 0 deletions