Linux virtualization list
 help / color / mirror / Atom feed
From: SJ Park <sj@kernel.org>
To: Yichong Chen <chenyichong@uniontech.com>
Cc: SJ Park <sj@kernel.org>,
	mst@redhat.com, jasowang@redhat.com, xuanzhuo@linux.alibaba.com,
	eperezma@redhat.com, akpm@linux-foundation.org, rppt@kernel.org,
	ljs@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org,
	virtualization@lists.linux.dev
Subject: Re: [PATCH v2 1/2] tools/virtio: Add missing compat definitions for vhost_net_test
Date: Wed,  1 Jul 2026 06:36:55 -0700	[thread overview]
Message-ID: <20260701133655.59115-1-sj@kernel.org> (raw)
In-Reply-To: <20260629022124.131894-2-chenyichong@uniontech.com>

On Mon, 29 Jun 2026 10:21:23 +0800 Yichong Chen <chenyichong@uniontech.com> wrote:

> vhost_net_test builds virtio_ring.c in userspace.
> 
> Recent virtio headers pull in helper headers that are not provided by
> the tools/virtio compatibility layer, including asm/percpu_types.h,
> linux/completion.h, linux/mod_devicetable.h and
> linux/virtio_features.h.
> 
> Add the missing compat definitions and the DMA attribute used by the
> current virtio ring code.

I confirmed this patch fixes the build on my setup.

> 
> Signed-off-by: Yichong Chen <chenyichong@uniontech.com>

Tested-by: SJ Park <sj@kernel.org>


Thanks,
SJ

[...]

  reply	other threads:[~2026-07-01 13:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29  2:21 [PATCH v2 0/2] tools: Fix tools/virtio test build Yichong Chen
2026-06-29  2:21 ` [PATCH v2 1/2] tools/virtio: Add missing compat definitions for vhost_net_test Yichong Chen
2026-07-01 13:36   ` SJ Park [this message]
2026-06-29  2:21 ` [PATCH v2 2/2] tools/include: Include stdint.h for SIZE_MAX in overflow.h Yichong Chen
2026-07-01 13:35   ` SJ Park
2026-07-02  2:20     ` Yichong Chen
2026-06-29  9:09 ` [PATCH v2 0/2] tools: Fix tools/virtio test build Eugenio Perez Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260701133655.59115-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=chenyichong@uniontech.com \
    --cc=eperezma@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ljs@kernel.org \
    --cc=mst@redhat.com \
    --cc=pabeni@redhat.com \
    --cc=rppt@kernel.org \
    --cc=virtualization@lists.linux.dev \
    --cc=xuanzhuo@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox