Linux virtualization list
 help / color / mirror / Atom feed
* [PATCH 0/2] tools: Fix tools/virtio test build
@ 2026-06-18  9:56 Yichong Chen
  2026-06-18 12:04 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Yichong Chen @ 2026-06-18  9:56 UTC (permalink / raw)
  To: mst, jasowang
  Cc: xuanzhuo, eperezma, rppt, ljs, akpm, virtualization, linux-kernel,
	chenyichong

This series fixes build failures hit by:

  make -C tools/virtio test

Patch 1 adds tools/virtio compatibility definitions needed by
recent virtio headers when building vhost_net_test.

Patch 2 makes tools/include/linux/overflow.h include stdint.h
for SIZE_MAX, which is used by its size helper functions.

With the series applied, make -C tools/virtio test builds
virtio_test, vringh_test and vhost_net_test successfully.

Yichong Chen (2):
  tools/virtio: Add missing compat definitions for vhost_net_test
  tools/include: Include stdint.h for SIZE_MAX in overflow.h

 tools/include/linux/overflow.h       |  2 +
 tools/virtio/linux/completion.h      |  9 +++++
 tools/virtio/linux/device.h          |  1 +
 tools/virtio/linux/dma-mapping.h     |  1 +
 tools/virtio/linux/mod_devicetable.h | 14 +++++++
 tools/virtio/linux/slab.h            |  4 ++
 tools/virtio/linux/virtio_features.h | 56 ++++++++++++++++++++++++++++
 7 files changed, 87 insertions(+)
 create mode 100644 tools/virtio/linux/completion.h
 create mode 100644 tools/virtio/linux/mod_devicetable.h
 create mode 100644 tools/virtio/linux/virtio_features.h

-- 
2.51.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/2] tools: Fix tools/virtio test build
  2026-06-18  9:56 [PATCH 0/2] tools: Fix tools/virtio test build Yichong Chen
@ 2026-06-18 12:04 ` Michael S. Tsirkin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2026-06-18 12:04 UTC (permalink / raw)
  To: Yichong Chen
  Cc: jasowang, xuanzhuo, eperezma, rppt, ljs, akpm, virtualization,
	linux-kernel

On Thu, Jun 18, 2026 at 05:56:40PM +0800, Yichong Chen wrote:
> This series fixes build failures hit by:
> 
>   make -C tools/virtio test
> 
> Patch 1 adds tools/virtio compatibility definitions needed by
> recent virtio headers when building vhost_net_test.
> 
> Patch 2 makes tools/include/linux/overflow.h include stdint.h
> for SIZE_MAX, which is used by its size helper functions.
> 
> With the series applied, make -C tools/virtio test builds
> virtio_test, vringh_test and vhost_net_test successfully.
> 
> Yichong Chen (2):
>   tools/virtio: Add missing compat definitions for vhost_net_test
>   tools/include: Include stdint.h for SIZE_MAX in overflow.h


which commit is this on top of?

>  tools/include/linux/overflow.h       |  2 +
>  tools/virtio/linux/completion.h      |  9 +++++
>  tools/virtio/linux/device.h          |  1 +
>  tools/virtio/linux/dma-mapping.h     |  1 +
>  tools/virtio/linux/mod_devicetable.h | 14 +++++++
>  tools/virtio/linux/slab.h            |  4 ++
>  tools/virtio/linux/virtio_features.h | 56 ++++++++++++++++++++++++++++
>  7 files changed, 87 insertions(+)
>  create mode 100644 tools/virtio/linux/completion.h
>  create mode 100644 tools/virtio/linux/mod_devicetable.h
>  create mode 100644 tools/virtio/linux/virtio_features.h
> 
> -- 
> 2.51.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-18 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-18  9:56 [PATCH 0/2] tools: Fix tools/virtio test build Yichong Chen
2026-06-18 12:04 ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox