From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Christian Schoenebeck <qemu_oss@crudebyte.com>
Cc: qemu-devel@nongnu.org, 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>
Subject: Re: [RFC] docs/code-provenance: Use of AI-generated content
Date: Wed, 2 Dec 2026 17:53:02 +0000 [thread overview]
Message-ID: <axBa_sfgClUb4B6Q@redhat.com> (raw)
In-Reply-To: <3792703.R56niFO833@weasel>
On Wed, Dec 02, 2026 at 04:48:16PM +0100, Christian Schoenebeck wrote:
> Hi,
>
> may I ask for an update on how to handle A.I. generated content with QEMU?
>
> Because right now I am honestly puzzled how to proceed - like at all - given
> the mass of A.I. generated reports alone and looking on what QEMU's code
> provenance currently mandates [docs/devel/code-provenance.rst], quote:
>
> `Current QEMU project policy is to DECLINE any contributions which are
> believed to include or *derive* from AI generated content.´
>
> Then goes on with contradicting itself by:
>
> `This policy does not apply to other uses of AI, such as researching APIs
> or algorithms, static analysis, or debugging, provided their output is not
> included in contributions.´
>
> And it ends with this inevitable burden:
>
> `In particular, the "Signed-off-by" label in a patch submission is a statement
> that the author takes responsibility for the entire contents of the patch,
> including any parts that were *generated* or assisted by *AI* tools or other
> tools.´
>
> 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.
> 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.
> 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.
> What I am *rather* worried about, is that current QEMU policies make sub-
> maintainers aggressively liable for violating QEMU's own policy.
>
> Because as a QEMU submaintainer, when I look at these project policies, I have
> no other chance than either discarding any AI generated report immediately
> (without even looking at it), or proceed the way it's currently habit, and
> knowingly violating QEMU's policy and making myself liable.
Merely looking at a patch doesn't make you liable.
If there is no indication that the patch was done with AI, and you
accept it in good faith based on what you know at the time, then you're
not liable. The original contributor who added their SoB to an AI patch
is liable as they're the party who signed off the contribution without
complying with the policy.
> 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.
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
prev parent reply other threads:[~2026-12-02 17:53 UTC|newest]
Thread overview: 3+ 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 17:53 ` Daniel P. Berrangé [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=axBa_sfgClUb4B6Q@redhat.com \
--to=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=qemu_oss@crudebyte.com \
--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.