All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Greg Kurz" <groug@kaod.org>,
	"Daniel P. Berrangé" <berrange@redhat.com>
Subject: Re: [RFC] docs/code-provenance: Use of AI-generated content
Date: Wed, 02 Dec 2026 20:31:05 +0100	[thread overview]
Message-ID: <3714435.V25eIC5XRa@weasel> (raw)
In-Reply-To: <axBa_sfgClUb4B6Q@redhat.com>

On Wednesday, 2 December 2026 18:53:02 CET Daniel P. Berrangé wrote:
> On Wed, Dec 02, 2026 at 04:48:16PM +0100, Christian Schoenebeck wrote:
[...]
> > 1. So right now, QEMU submaintainers are told to throw away AI generated
> > code contributions, and re-write them by hand. The problem: that is still
> > *derived* from AI generated content.
> 
> There is no requirement/expectation that maintainers re-write
> stuff by hand. If someone sends a AI generated patch, it should
> just be rejected.
> 
> I get that if it was fixing a valid bug, you might none the less
> want to have a patch, but that's a separate matter, once the
> initial AI patch is rejected.

But that's exactly what I do here for last couple of year: processing bug 
reports and make sure they get fixed. All of them are AI generated nowadays. 
And that consequently means I must rewrite them by hand; fixes and test code.

> > 2. The conduct is not even clear on what "content" means. I think the
> > intention was "code", but the word "content" legally includes bug reports,
> > analysis/debugging results or any AI generated data in general actually.
> 
> "content" was intended to mean anything that gets committed to
> qemu.git, as the contents of git are what QEMU distributes and
> end users deploy and what the licenses apply to.

I know what the intention was, but the way the current conduct is written, it 
makes more harm than use.

And yes, Warner made me aware there is a new version of the policy by Paolo 
in-flight, which is good.
 
> > 3. And at the same time, submaintainers are asked to take personal
> > *responsibility* for accepting parts being *derived* from AI sources via
> > their "Signed-off-by" label.
> 
> Yes, adding your own S-o-B line to any patch indicates that you
> have blessed it in accordance with the DCO. If you have doubts
> about a patch, then don't accept it, or ask the contributor to
> clarify.

I have no problem with the DCO. The DCO is about the copyright being sane.

The problem I have are all the vague AI restrictions (their precise wordings) 
that were subsequently added on top of that.

> > Keep in mind: even if you fixed the conduct wording of what was actually
> > meant; all AI assisted/generated reports nowadays include code, and you
> > have to look at this code to a) understand the issue and b) identify
> > false positives. Often that code is even directly within the report, not
> > just as an attachment. And by just looking at that code, any code you'll
> > come up with, will be "derived" from that AI generated code.
> 
> Merely looking at code does not taint you. That is an extreme view
> commonly promoted by proprietary software companies to constrict/
> control your ability to work.
> 
> If you're writing a patch from first principals, without directly
> referring to the other invalid patch, I see no problem even if you
> happen to have read the original patch previously.
> 
> With some fixes there may be only a single way a fix can be done,
> such that your new patch comes out essentially identical. That is
> only likely to be the case for code that is so trivial that it is
> likely not eligible for copyright protection making the whole
> concern irrelevant.

Exactly! And that is my point, that the currently effective complete AI ban is 
completely irrational: I mangle bugs, fixes and test code. None of these have 
any potential to violate copyright of people outside of QEMU. Most of these 
changes are so little, that you can easily argue whether they would earn any 
copyright whatsoever.

But the way the *current* QEMU policy is expressed, I am already in a grey 
zone no matter what.

So at least from my side, until that new policy version proposed by Paolo 
lands, I rather consider stepping down and downgrade myself to a pure reviewer  
until the policy gets updated.

/Christian




      reply	other threads:[~2026-12-02 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 15:48 [RFC] docs/code-provenance: Use of AI-generated content Christian Schoenebeck
2026-12-02 17:36 ` Warner Losh
2026-12-02 19:06   ` Christian Schoenebeck
2026-12-02 17:53 ` Daniel P. Berrangé
2026-12-02 19:31   ` Christian Schoenebeck [this message]

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=3714435.V25eIC5XRa@weasel \
    --to=qemu_oss@crudebyte.com \
    --cc=berrange@redhat.com \
    --cc=groug@kaod.org \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.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.