From: "Alex Bennée" <alex.bennee@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: on ai generated and code provenance
Date: Tue, 26 May 2026 10:28:51 +0100 [thread overview]
Message-ID: <87eciy1pv0.fsf@draig.linaro.org> (raw)
In-Reply-To: <CAFEAcA9wMRFJWrjGHcd2nfhgXovyuS=dDJvCXWZkgmD_eez27A@mail.gmail.com> (Peter Maydell's message of "Tue, 26 May 2026 09:23:35 +0100")
Peter Maydell <peter.maydell@linaro.org> writes:
> On Mon, 25 May 2026 at 17:33, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> On 5/24/26 14:42, Michael S. Tsirkin wrote:
>> > I propose adopting linux's rules instead:
>> > https://docs.kernel.org/process/coding-assistants.html
>>
>> Replacing QEMU's policy with Linux's would be orthogonal to the topic of
>> the DCO. Maintainers would still have the option of rejecting
>> AI-assisted patches if they don't believe they can apply their own sign-off.
>>
>> Other projects have taken similar "no AI" policies for different
>> reasons. Zig has one because they believe AI code would make it harder
>> to retain contributors[3][4]; Rust is working on one that is fairly
>> restrictive[5] (discussion at [6]) and requires previous communications
>> with reviewers about *any* generated PRs[7]. Personally I think QEMU's
>> policy is fine but we should start introducing exceptions, possibly
>> including large contributions with pre-authorization (but not
>> pre-approval) from the maintainer.
>
> If we revisit our AI policy (which we should, I think, in the sense
> that it's been a while and the situation has changed), I want to
> note that although our current policy essentially says "no, because
> we don't want the legal risks", that doesn't imply that "if we
> judge now that the legal risks are acceptable, that was the only
> blocker and so we are now open to AI contributions of all sorts".
I think there are still potential legal risks but in the normal use case
they are pretty small. Prompts to re-factor QEMU code will likely be
fine because the LLM is acting as a fungible editor - if anyone prompted
"implement Rosetta's target code optimisation pass" we should be very
wary of accidental infringement.
> While we were essentially in the "blanket ban" state anyway, there was
> no particular need to have the discussion about other reasons we might
> also want to be restrictive or cautious about AI contributions, but
> those other reasons and viewpoints don't go away automatically with
> the legal one.
>
> I have quite a lot of sympathy with the rationale behind the
> Zig policy, for instance:
> https://kristoff.it/blog/contributor-poker-and-ai/
> I spend quite a lot of time reviewing patches for things which
> are features I don't necessarily personally care about. I'm
> happy with doing that for other people who are hopefully
> learning and gaining something from the process; I'm much
> less interested in reviewing a mountain of LLM-generated patches.
I agree - I think we need to address the quality expectations expected
of series authored with the help of AI before we open the doors to even
a limited subset of exceptions. Otherwise I think we could see a similar
deluge of patches overloading reviewers the same way the issue tracker
has been recently.
>
> thanks
> -- PMM
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2026-05-26 9:29 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-24 12:42 on ai generated and code provenance Michael S. Tsirkin
2026-05-24 17:06 ` Alex Bennée
2026-05-24 17:42 ` Michael S. Tsirkin
2026-05-24 18:26 ` Warner Losh
2026-05-24 20:04 ` Michael S. Tsirkin
2026-05-24 20:11 ` Michael S. Tsirkin
2026-05-24 20:44 ` Stefan Hajnoczi
2026-05-25 15:27 ` Stefan Hajnoczi
2026-05-25 16:32 ` Paolo Bonzini
2026-05-25 17:15 ` Warner Losh
2026-05-25 19:44 ` Stefan Hajnoczi
2026-05-25 22:36 ` Michael S. Tsirkin
2026-05-26 13:16 ` Stefan Hajnoczi
2026-05-25 19:56 ` Paolo Bonzini
2026-05-26 21:48 ` Philippe Mathieu-Daudé
2026-05-26 8:23 ` Peter Maydell
2026-05-26 9:28 ` Alex Bennée [this message]
2026-05-26 9:57 ` Paolo Bonzini
2026-05-26 11:27 ` BALATON Zoltan
2026-05-26 12:30 ` Michael S. Tsirkin
2026-05-26 12:37 ` Manos Pitsidianakis
2026-05-26 13:00 ` Michael S. Tsirkin
2026-05-26 13:22 ` Stefan Hajnoczi
2026-05-26 14:01 ` Warner Losh
2026-05-27 7:11 ` Philippe Mathieu-Daudé
2026-05-26 17:43 ` Kevin Wolf
2026-05-26 18:03 ` Michael S. Tsirkin
2026-05-26 18:59 ` Kevin Wolf
2026-05-26 19:30 ` Michael S. Tsirkin
2026-05-26 19:52 ` Warner Losh
2026-05-27 8:41 ` Kevin Wolf
2026-05-27 10:01 ` Paolo Bonzini
2026-05-27 10:43 ` Alex Bennée
2026-05-27 12:49 ` Kevin Wolf
2026-05-27 10:53 ` Kevin Wolf
2026-05-27 12:33 ` Paolo Bonzini
2026-05-27 12:43 ` Michael S. Tsirkin
2026-05-27 10:54 ` Alistair Francis
2026-05-27 14:21 ` Warner Losh
2026-05-28 1:59 ` Alistair Francis
2026-05-28 5:06 ` Michael S. Tsirkin
2026-05-28 7:32 ` Paolo Bonzini
2026-05-27 14:11 ` Michael S. Tsirkin
2026-05-27 14:14 ` Warner Losh
2026-05-27 14:51 ` Kevin Wolf
2026-05-27 16:41 ` Michael S. Tsirkin
2026-05-27 16:50 ` Kevin Wolf
2026-05-27 16:56 ` Michael S. Tsirkin
2026-05-27 17:06 ` Michael S. Tsirkin
2026-05-27 17:15 ` Warner Losh
2026-05-27 17:07 ` Warner Losh
2026-05-27 16:05 ` Paolo Bonzini
2026-05-27 16:48 ` Michael S. Tsirkin
2026-05-27 16:57 ` Warner Losh
2026-05-27 17:05 ` Michael S. Tsirkin
2026-05-27 17:48 ` Paolo Bonzini
2026-05-27 16:39 ` Michael S. Tsirkin
2026-05-26 19:50 ` Michael S. Tsirkin
2026-05-27 7:44 ` Kevin Wolf
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=87eciy1pv0.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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 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.