Skip to content

tools/virtio: fix the build and the posix_memalign() checks

Liam R. Howlett (Google) lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tools/virtio: add a shim for linux/device-id/virtio.htools/virtio/linux/device-id/virtio.h+2 -00 replies
2/2tools/virtio: check posix_memalign() for failuretools/virtio/linux/kernel.h tools/virtio/vhost_net_test.c tools/virtio/virtio_test.c+4 -31 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchEugenio Pérez
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] tools/virtio: fix the build and the posix_memalign() checks

Working on other tools, I came across the fact that posix_memalign()'s return is not the standard negative error. Scanning the git repo, I came across the virtio issue with the return. Testing turned out the be broke as well, so there's a patch to fix testing prior to fixing the caller.

Liam R. Howlett (Google) (2):
tools/virtio: add a shim for linux/device-id/virtio.h tools/virtio: check posix_memalign() for failure

 tools/virtio/linux/device-id/virtio.h | 2 ++
 tools/virtio/linux/kernel.h           | 3 ++-
 tools/virtio/vhost_net_test.c         | 2 +-
 tools/virtio/virtio_test.c            | 2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)
 create mode 100644 tools/virtio/linux/device-id/virtio.h
Signature · 1 line
2.47.3