public inbox for virtio-comment@lists.linux.dev
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Rust VMM <rust-vmm@lists.opendev.org>,
	 QEMU Devel <qemu-devel@nongnu.org>,
	 virtio-comment@lists.linux.dev,
	 VirtIO Dev List <virtio-dev@lists.linux.dev>,
	 Bill Mills <bill.mills@linaro.org>,
	 Manos Pitsidianakis <manos.pitsidianakis@linaro.org>,
	 "Michael S. Tsirkin" <mst@redhat.com>,
	 David Hildenbrand <david@redhat.com>,
	 Stefan Hajnoczi <stefanha@redhat.com>,
	 Stefano Garzarella <sgarzare@redhat.com>,
	 Dmitry Osipenko <dmitry.osipenko@collabora.com>,
	 Matias Vara Larsen <mvaralar@redhat.com>,
	 Sergio Lopez <slp@redhat.com>
Subject: Re: Central repo for VirtIO conformance tests?
Date: Mon, 31 Mar 2025 13:36:49 +0100	[thread overview]
Message-ID: <87msd1peam.fsf@draig.linaro.org> (raw)
In-Reply-To: <CAJSP0QW6=SvLwkuTsZTKqCH9OQJdH8XV32hDZ9Z4o6AbCbOqiA@mail.gmail.com> (Stefan Hajnoczi's message of "Mon, 31 Mar 2025 07:58:22 -0400")

Stefan Hajnoczi <stefanha@gmail.com> writes:

> On Mon, Mar 31, 2025 at 6:39 AM Alex Bennée <alex.bennee@linaro.org> wrote:
>> The unikernel utilizes rcore-os's no_std VirtIO drivers to discover and
>> initialize a range of VirtIO devices.
>
> https://github.com/rcore-os/virtio-drivers
>
> I noticed that VIRTIO_F_VERSION_1, VIRTIO_F_RING_PACKED, and hardware
> device support are missing according to the readme. Those are
> important features for real-world test coverage.

At the moment most of the testing is around feature negotiation so we
don't get to the point that we are need packed virtqs. However it would
be useful to upstream such support for their use generally - I know
there are some downstream projects that have stuff to upstream in due
course.

The original idea for the feature bit tests was to utilise the kernels
kunit framework. However that was outside the scope of what kunit which
is really focused on testing kernel internals rather than the HW
interface.

We did consider expanding the kvm-unit-test uni-kernels but that would
either involve importing kernel bits or a fairly big C re-implementation
of it. At least by expanding the rcore-os drivers we will have two
different driver stacks in two different languages.

> Or is the idea to use the unikernel for low-level device
> initialization and the Linux image for tests that do I/O?

So far the rootfs images get by far the largest coverage because they
can more easily trigger a whole range of conditions. While VirtIO is
intended to be OS and hypervisor agnostic Linux remains the system with
the widest and most functional coverage of the interfaces.

>
> Stefan

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

  parent reply	other threads:[~2025-03-31 12:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-31 10:38 Central repo for VirtIO conformance tests? Alex Bennée
2025-03-31 11:52 ` Stefan Hajnoczi
     [not found]   ` <Z-qHKUveoHc85koj@redhat.com>
2025-03-31 12:20     ` Stefan Hajnoczi
     [not found] ` <CAJSP0QW6=SvLwkuTsZTKqCH9OQJdH8XV32hDZ9Z4o6AbCbOqiA@mail.gmail.com>
2025-03-31 12:36   ` Alex Bennée [this message]
2025-05-19  7:43 ` Manos Pitsidianakis
2025-05-19  7:54   ` Michael S. Tsirkin
2025-05-19  8:03     ` Manos Pitsidianakis
2025-05-19  8:15       ` Michael S. Tsirkin
2025-05-19  8:18         ` Manos Pitsidianakis
2025-05-19 12:30           ` Michael S. Tsirkin
2025-05-29 21:34           ` Michael S. Tsirkin

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=87msd1peam.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=bill.mills@linaro.org \
    --cc=david@redhat.com \
    --cc=dmitry.osipenko@collabora.com \
    --cc=manos.pitsidianakis@linaro.org \
    --cc=mst@redhat.com \
    --cc=mvaralar@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rust-vmm@lists.opendev.org \
    --cc=sgarzare@redhat.com \
    --cc=slp@redhat.com \
    --cc=stefanha@gmail.com \
    --cc=stefanha@redhat.com \
    --cc=virtio-comment@lists.linux.dev \
    --cc=virtio-dev@lists.linux.dev \
    /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