From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B37DC606A686 for ; Wed, 2 Dec 2026 19:32:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=crudebyte.com header.i=@crudebyte.com header.a=rsa-sha256 header.s=kylie header.b=mBUQnLdP Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xYq33-0007KD-74; Wed, 02 Dec 2026 14:31:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xYq2w-0007HN-Qc for qemu-devel@nongnu.org; Wed, 02 Dec 2026 14:31:20 -0500 Received: from kylie.crudebyte.com ([5.189.157.229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xYq2u-0001GT-K4 for qemu-devel@nongnu.org; Wed, 02 Dec 2026 14:31:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=crudebyte.com; s=kylie; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Content-ID:Content-Description; bh=ItNwoble4BUtIg6ViejQcESOa5h57jxynRnKuH/4AOY=; b=mBUQnLdPF9Bd90MumTHO1JudDR bSL9xnOTTlmmlQSQN9L8N15CMV/lRFlA3uHVkMA9mPBfjwsLwJCxt0XOeIxBbB1t6IH90NiS2NYes GTHqqFtnPAdHnHoqu1C0VJUC8EOQ1riUosMgjyvgA5uhRs4RKJ1NxY8ctmplH/wd6MAg/m8eH24S4 AKBYQsMkRJbNfsnOFluAKFSWcczduAXbXLedc+JOCliyYGJxvNxtD9y9LeFlfs6soU3Y8wKWGvw2b HduuheV1tqTkc26D4+n140oPrM/SLsrAvxNbXYM5pHgxmgL50+QgWKeiKoRlMceyTc/LB7QHuVYHF k1+aErqhYi1xXDcQE8ThLTONg05+UxUvfziRqKaCKz56cfMDDaqspJZ/1oHuOeU8lVq7XWd2S2FUR NT8ES3s40Bm9JMYYnghjge5dWBXNlOoQcGZT8hD7CFWYfOUkw4NwWvkTYvreUwij8UjlQ227327Bj kQzqgwsyx82Vv80y87H/2Uc8EfoiyT5LMKVps/XL6KmvigE9RiFbuD5y+9QpH/SZ14pSiM2HcDad6 lpiqaruUyyc48TqWj3UDYx8qhM7/tKrFAHL/sRRRqJJA5Net+I54aMK7fGfI84vP5MYB3R8tTN2n0 Aqfs/gmP9/2kQ2jeknyEUsitaacj5iDTZHt6TEQ08=; From: Christian Schoenebeck To: qemu-devel@nongnu.org Cc: Peter Maydell , Richard Henderson , Pierrick Bouvier , Paolo Bonzini , Greg Kurz , Daniel =?UTF-8?B?UC4gQmVycmFuZ8Op?= Subject: Re: [RFC] docs/code-provenance: Use of AI-generated content Date: Wed, 02 Dec 2026 20:31:05 +0100 Message-ID: <3714435.V25eIC5XRa@weasel> In-Reply-To: References: <3792703.R56niFO833@weasel> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Received-SPF: pass client-ip=5.189.157.229; envelope-from=qemu_oss@crudebyte.com; helo=kylie.crudebyte.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wednesday, 2 December 2026 18:53:02 CET Daniel P. Berrang=C3=A9 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 sti= ll > > *derived* from AI generated content. >=20 > There is no requirement/expectation that maintainers re-write > stuff by hand. If someone sends a AI generated patch, it should > just be rejected. >=20 > 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=20 reports and make sure they get fixed. All of them are AI generated nowadays= =2E=20 And that consequently means I must rewrite them by hand; fixes and test cod= e. > > 2. The conduct is not even clear on what "content" means. I think the > > intention was "code", but the word "content" legally includes bug repor= ts, > > analysis/debugging results or any AI generated data in general actually. >=20 > "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=20 makes more harm than use. And yes, Warner made me aware there is a new version of the policy by Paolo= =20 in-flight, which is good. =20 > > 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. >=20 > 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 wording= s)=20 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. >=20 > 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. >=20 > 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. >=20 > 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=20 completely irrational: I mangle bugs, fixes and test code. None of these ha= ve=20 any potential to violate copyright of people outside of QEMU. Most of these= =20 changes are so little, that you can easily argue whether they would earn an= y=20 copyright whatsoever. But the way the *current* QEMU policy is expressed, I am already in a grey= =20 zone no matter what. So at least from my side, until that new policy version proposed by Paolo=20 lands, I rather consider stepping down and downgrade myself to a pure revie= wer =20 until the policy gets updated. /Christian