[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANeycqoV9aDsh5aYynxGwah0=WVgboKQsTVQHJdSFwougRKqYA@mail.gmail.com>
Date: Wed, 8 Mar 2023 01:08:00 -0300
From: Wedson Almeida Filho <wedsonaf@...il.com>
To: Gary Guo <gary@...yguo.net>
Cc: Daniel Almeida <daniel.almeida@...labora.com>, ojeda@...nel.org,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org, kernel@...labora.com
Subject: Re: [PATCH] rust: virtio: add virtio support
On Tue, 7 Mar 2023 at 13:46, Gary Guo <gary@...yguo.net> wrote:
>
> On Tue, 7 Mar 2023 10:03:32 -0300
> Daniel Almeida <daniel.almeida@...labora.com> wrote:
>
> > This patch adds virtIO support to the rust crate. This includes the
> > capability to create a virtIO driver (through the module_virtio_driver
> > macro and the respective Driver trait) as well as initial virtqueue
> > support.
> >
> > A sample virtIO module is included for conveninence.
> >
> > Signed-off-by: Daniel Almeida <daniel.almeida@...labora.com>
> > ---
> >
> > Ok so this is my first Rust contribution here. It's part of a virtIO
> > driver I was originally writing. Both the probing and the virtqueue
> > support in here were confirmed as working in said prototype driver, and
> > the pieces were picked separately into this patch.
> >
> > Feel free to point me to the best practices around Rust patch
> > submission, as the C stuff like checkpatch etc probably does not apply
> > yet. I did take care to run clippy though.
>
> Hi Daniel,
>
> This patch seems to be based on top the GitHub rust branch, not the
> rust-next branch.
FWIW, I'll soon send patches for the `driver` module to rust-next,
which should allow bus abstractions such as this to be rebased onto
rust-next as well.
Powered by blists - more mailing lists