From: "Michael S. Tsirkin" <mst@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Jason Wang <jasowang@redhat.com>,
virtualization@lists.linux-foundation.org
Subject: Re: [PATCH 00/14] tools/virtio: cleanups, fixes
Date: Tue, 9 Dec 2025 08:09:45 -0500 [thread overview]
Message-ID: <20251209080926-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <cover.1764873799.git.mst@redhat.com>
On Thu, Dec 04, 2025 at 01:46:01PM -0500, Michael S. Tsirkin wrote:
> Recent virtio changes brought about build errors for tools/virtio,
> as usual. I did some refactoring to hopefully reduce maintainance
> load going forward.
>
> Adding stubs is tedious and seemed a perfect fit for cursor -
> so I used it for that, then rewrote some commits and accepted
> others. commit logs I've rewritten.
>
> Found and fixed a couple of minor bugs while doing this - that
> part's all mine.
Jason, any feedback?
> Michael S. Tsirkin (14):
> tools/virtio: fix up compiler.h stub
> virtio: make it self-contained
> tools/virtio: use kernel's virtio.h
> tools/virtio: add struct module forward declaration
> tools/virtio: stub DMA mapping functions
> tools/virtio: add dev_WARN_ONCE and is_vmalloc_addr stubs
> tools/virtio: add ucopysize.h stub
> tools/virtio: pass KCFLAGS to module build
> tools/virtio: add struct cpumask to cpumask.h
> tools/virtio: stub might_sleep and synchronize_rcu
> tools/virtio: switch to kernel's virtio_config.h
> virtio_features: make it self-contained
> tools/virtio: fix up oot build
> tools/virtio: add device, device_driver stubs
>
> include/linux/virtio.h | 2 +
> include/linux/virtio_features.h | 2 +
> tools/virtio/Makefile | 8 ++-
> tools/virtio/linux/compiler.h | 6 ++
> tools/virtio/linux/cpumask.h | 4 ++
> tools/virtio/linux/device.h | 8 +++
> tools/virtio/linux/dma-mapping.h | 4 ++
> tools/virtio/linux/kernel.h | 16 +++++
> tools/virtio/linux/module.h | 2 +
> tools/virtio/linux/ucopysize.h | 21 ++++++
> tools/virtio/linux/virtio.h | 73 +--------------------
> tools/virtio/linux/virtio_config.h | 102 +----------------------------
> tools/virtio/oot-stubs.h | 10 +++
> 13 files changed, 82 insertions(+), 176 deletions(-)
> create mode 100644 tools/virtio/linux/ucopysize.h
> create mode 100644 tools/virtio/oot-stubs.h
>
> --
> MST
>
next prev parent reply other threads:[~2025-12-09 13:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-04 18:45 [PATCH 00/14] tools/virtio: cleanups, fixes Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 01/14] tools/virtio: fix up compiler.h stub Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 02/14] virtio: make it self-contained Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 03/14] tools/virtio: use kernel's virtio.h Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 04/14] tools/virtio: add struct module forward declaration Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 05/14] tools/virtio: stub DMA mapping functions Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 06/14] tools/virtio: add dev_WARN_ONCE and is_vmalloc_addr stubs Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 07/14] tools/virtio: add ucopysize.h stub Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 08/14] tools/virtio: pass KCFLAGS to module build Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 09/14] tools/virtio: add struct cpumask to cpumask.h Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 10/14] tools/virtio: stub might_sleep and synchronize_rcu Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 11/14] tools/virtio: switch to kernel's virtio_config.h Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 12/14] virtio_features: make it self-contained Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 13/14] tools/virtio: fix up oot build Michael S. Tsirkin
2025-12-04 18:46 ` [PATCH 14/14] tools/virtio: add device, device_driver stubs Michael S. Tsirkin
2025-12-09 13:09 ` Michael S. Tsirkin [this message]
2025-12-10 6:24 ` [PATCH 00/14] tools/virtio: cleanups, fixes Jason Wang
2025-12-10 7:01 ` Michael S. Tsirkin
2025-12-11 7:12 ` Michael S. Tsirkin
2025-12-11 7:22 ` Jason Wang
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=20251209080926-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=jasowang@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.