summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2019-11-07 14:18:41 -0800
committerCommit Bot <commit-bot@chromium.org>2019-11-09 22:10:10 +0000
commit279248255f9f65c6baf044f1fbff0011bcd9938a (patch)
tree235b3df0faf37335a8850b0b24120a32d3f7c3bb /resources
parentaa7f102ef88c0f0e8c1dc7f2df137ba5c8912ecf (diff)
downloadcrosvm-279248255f9f65c6baf044f1fbff0011bcd9938a.tar
crosvm-279248255f9f65c6baf044f1fbff0011bcd9938a.tar.gz
crosvm-279248255f9f65c6baf044f1fbff0011bcd9938a.tar.bz2
crosvm-279248255f9f65c6baf044f1fbff0011bcd9938a.tar.lz
crosvm-279248255f9f65c6baf044f1fbff0011bcd9938a.tar.xz
crosvm-279248255f9f65c6baf044f1fbff0011bcd9938a.tar.zst
crosvm-279248255f9f65c6baf044f1fbff0011bcd9938a.zip
devices: virtio: add peek operation to queue
This allows the caller to grab a buffer without committing to using it,
which can be used in the case where two resources (a virtio buffer plus
some other resource) need to be acquired simultaneously.

BUG=None
TEST=build_test.py

Change-Id: Icb61de99db807648ff02c41f95b3128ecce41501
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1904638
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Tested-by: Stephen Barber <smbarber@chromium.org>
Commit-Queue: Stephen Barber <smbarber@chromium.org>
Diffstat (limited to 'resources')
0 files changed, 0 insertions, 0 deletions