Hi all,

I used claude code to generate (unsubmitted) patches, before I realized
libvirt had a policy rejecting AI generated submissions.

The patches add domaincapabilities sound model output. If you've looked
at code in this area, you know it's largely boilerplate.

I'd describe the changes as:

+ Add the generic domain_capabilities plumbing
+ Add more QEMU_CAPS flags for all sound devices, copying device names
already identified in qemu_command.c
+ Map qemu caps to domcaps in qemu_capabilities.c
+ Use domcaps for validation in qemu_validate.c
+ regenerate testsuite output

(and those are basically shorthand for the instructions I gave to the LLM).

There does not appear to be a single novel line in the whole series.

But OK, for legal safety sake libvirt will not accept these patches.
That's fair.

But in a copyright sense am I tainted by looking at the generated code?

If I wanted to write the patches by hand they likely will end up looking
identical, down to the character.

Creates a weird scenario IMO. What to do?

The patches are here, gaze not upon them lest ye too be corrupted:
https://gitlab.com/crobinso/libvirt/-/tree/domcaps-sound

Thanks,
Cole

Reply via email to