[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Permissively Licensing the CPU Component
From: |
Daniel P . Berrangé |
Subject: |
Re: Permissively Licensing the CPU Component |
Date: |
Wed, 19 Feb 2025 10:22:19 +0000 |
User-agent: |
Mutt/2.2.13 (2024-03-09) |
On Wed, Feb 19, 2025 at 01:59:08AM -0800, Faisal Al-Humaimidi wrote:
> Hello QEMU developers,
>
> I understand from this page, https://wiki.qemu.org/License, that TCG is
> being licensed permissively (BSD license) so it can be integrated as a
> library in other projects, which is great!
Not so fast. Individual source files may be under the BSD license, but
those source files are rarely buildable & usable in isolation. They will
consume APIs in other parts of QEMU which are under the GPL license, and
thus the combined work will be under the GPL per that wiki License page
above.
IOW, if you wanted to takes pieces which are BSD license and use them
exclusively under BSD in a combined work, you would need to re-implement
any other code it depends on which was not also BSD licensed. This is
unlikely to be a sensible investment of time IMHO.
> However, I'd like to know if the
> CPU part of QEMU, no peripherals included, is also permissively licensed
> (maybe BSD or some other permissive license such as LGPL, ...etc.)?
Again, QEMU as a whole is under the GPL-v2-only, because the process of
building QEMU into a functional binary pulls together code under many
licenses with GPL-v2-only being the one that sets the overall terms in
QEMU's case.
> The reason I am asking this question is because projects such as the
> Unicorn Engine would greatly benefit from a permissively licensed CPU
> component so that the project itself (Unicorn Engine) is also released
> under a permissive license, which would be great for people wanting to do
> research with the Unicorn Engine but are tied with proprietary code (e.g.,
> in proprietary university research projects). I have started a discussion
> for that matter with the Unicorn Engine developers in their GitHub page,
> https://github.com/unicorn-engine/unicorn/issues/2114, and it would be
> great to have a feedback regarding this matter from the official QEMU
> developers, whether directly on the issue or a reply to this email and I'd
> relay your response.
Since AFAICT unicorn engine has copied in the entire of the QEMU source
tree, and many of the BSD bits of QEMU will consume other GPL code, I
don't see a possibility to change. Individual source files can be under
a variety of licenses, but the combined work will inevitably be under
the GPL-v2-only.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|