qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Permissively Licensing the CPU Component
@ 2025-02-19  9:59 Faisal Al-Humaimidi
  2025-02-19 10:22 ` Daniel P. Berrangé
  0 siblings, 1 reply; 2+ messages in thread
From: Faisal Al-Humaimidi @ 2025-02-19  9:59 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]

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! 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.)?

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.


Kind regards,
Faisal Al-Humaimidi

[-- Attachment #2: Type: text/html, Size: 1491 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Permissively Licensing the CPU Component
  2025-02-19  9:59 Permissively Licensing the CPU Component Faisal Al-Humaimidi
@ 2025-02-19 10:22 ` Daniel P. Berrangé
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrangé @ 2025-02-19 10:22 UTC (permalink / raw)
  To: Faisal Al-Humaimidi; +Cc: qemu-devel

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 :|



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-19 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-19  9:59 Permissively Licensing the CPU Component Faisal Al-Humaimidi
2025-02-19 10:22 ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).