From: Stefan Weil <weil@mail.berlios.de>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Stuart Brady <stuart.brady@gmail.com>,
TeLeMan <geleman@gmail.com>,
QEMU Developers <qemu-devel@nongnu.org>,
Paul Brook <paul@codesourcery.com>
Subject: Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)
Date: Sun, 25 Sep 2011 22:37:23 +0200 [thread overview]
Message-ID: <4E7F9103.9090805@mail.berlios.de> (raw)
In-Reply-To: <CAAu8pHvOC4p+OFHmcxVav7ejrxsW0y7xAs33DUWJtreJqZusbw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3315 bytes --]
Am 18.09.2011 15:00, schrieb Blue Swirl:
> On Sun, Sep 18, 2011 at 12:46 PM, malc <av1474@comtv.ru> wrote:
>> On Sun, 18 Sep 2011, Blue Swirl wrote:
>>
>>> On Sun, Sep 18, 2011 at 10:49 AM, malc <av1474@comtv.ru> wrote:
>>>> On Sun, 18 Sep 2011, Blue Swirl wrote:
>>>>
>>>>> On Sat, Sep 17, 2011 at 7:59 PM, Stefan Weil
>>>>> <weil@mail.berlios.de> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> these patches add a new code generator (TCG target) to qemu.
>>>>>>
>>>>>> Unlike other tcg target code generators, this one does not generate
>>>>>> machine code for some cpu. It generates machine independent bytecode
>>>>>> which is interpreted later. That's why I called it TCI (tiny code
>>>>>> interpreter).
>>>>>>
>>>>>> I wrote most of the code two years ago and included feedback and
>>>>>> contributions from several QEMU developers, notably TeleMan,
>>>>>> Stuart Brady, Blue Swirl and Malc. See the history here:
>>>>>> http://lists.nongnu.org/archive/html/qemu-devel/2009-09/msg01710.html
>>>>>>
>>>>>> Since that time, I used TCI regularly, added small fixes and
>>>>>> improvements
>>>>>> and rebased it to latest QEMU. Some versions were tested using
>>>>>> ARM (emulated and real), PowerPC (emulated) and MIPS (emulated)
>>>>>> hosts,
>>>>>> but normally I run it on i386 and x86_64 hosts.
>>>>>>
>>>>>> I'd appreciate to see TCI in QEMU 1.0.
>>>>>>
>>>>>> Regards,
>>>>>> Stefan Weil
>>>>>>
>>>>>> The patches 2 and 4 are optional, patch 8 is only needed for running
>>>>>> TCI on a PowerPC host.
>>>>>
>>>>> I think patches 1 to 4 and 8 could be applied soon as they are now,
>>>>> they should benefit plain TCG too. I had some comments to other
>>>>> patches, but otherwise everything looks great.
>>>>
>>>> Hold the horses until Stefan settles the licensing issues.
>>>
>>> Which issues? For which patches?
>>>
>>
>> Read tcg/LICENSE.
>
> "All the files in this directory and subdirectories are released under
> a BSD like license (see header in each file). No other license is
> accepted."
>
> The wording of the file should be changed to list the files for which
> the BSD like license applies (and for which no other license is
> accepted), the file can't stop us adding new files with different
> licenses.
Thanks for all feedback given.
These license issues delayed my further working on tci.
In the meantime, I asked Fabrice Bellard. Here is his answer:
"Sorry but I no longer care about the license of this code.
But if I was still in charge of the project,
I would clearly refuse any non BSD code in TCG. "
Although I agree with Blue's opinion given above, I also
want to respect Fabrice.
Therefore I suggest these changes:
* tcg/bytecode is moved to tcg/tci, and I change the license to BSD.
* The interpreter is moved from tcg/tci.c to tci.c and remains GPL.
It is no longer in TCG, so there is no conflict with tcg/LICENSE.
This might seem to be a trick, but in some way it is similar to the
other tcg target implementations: the code generator is always BSD,
and the generated code is run on a system with a different license.
Comments welcome. As soon as there is a consensus on the way how tci
can be integrated I'll continue with patch series v2.
Patches 1 to 4 could be applied immediately (that would reduce the
size of the new series).
Kind regards,
Stefan Weil
[-- Attachment #2: Type: text/html, Size: 4810 bytes --]
next prev parent reply other threads:[~2011-09-25 20:37 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-17 19:59 [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine) Stefan Weil
2011-09-17 20:00 ` [Qemu-devel] [PATCH 1/8] tcg: Declare TCG_TARGET_REG_BITS in tcg.h Stefan Weil
2011-09-17 20:00 ` [Qemu-devel] [PATCH 2/8] tcg: Don't declare TCG_TARGET_REG_BITS in tcg-target.h Stefan Weil
2011-09-17 20:00 ` [Qemu-devel] [PATCH 3/8] tcg: Add forward declarations for local functions Stefan Weil
2011-09-17 21:40 ` Peter Maydell
2011-09-17 20:00 ` [Qemu-devel] [PATCH 4/8] tcg: Add some assertions Stefan Weil
2011-09-17 20:00 ` [Qemu-devel] [PATCH 5/8] tcg: Add interpreter for bytecode Stefan Weil
2011-09-18 4:03 ` Andi Kleen
2011-09-18 5:49 ` Stefan Weil
2011-09-18 7:22 ` Paolo Bonzini
2011-09-18 17:54 ` Avi Kivity
2011-09-19 6:52 ` Andi Kleen
2011-09-19 11:56 ` Avi Kivity
2011-09-19 14:48 ` Andi Kleen
2011-09-18 10:18 ` Blue Swirl
2011-09-19 16:43 ` Richard Henderson
2011-09-19 20:24 ` Stuart Brady
2011-10-16 21:54 ` Stuart Brady
2011-09-17 20:00 ` [Qemu-devel] [PATCH 6/8] tcg: Add bytecode generator for tcg interpreter Stefan Weil
2011-09-18 10:03 ` Blue Swirl
2011-09-19 22:28 ` Stuart Brady
2011-10-01 16:54 ` Andreas Färber
2011-10-01 21:25 ` Stefan Weil
2011-10-09 16:19 ` Andreas Färber
2011-09-17 20:00 ` [Qemu-devel] [PATCH 7/8] tcg: Add tcg interpreter to configure / make Stefan Weil
2011-09-18 9:37 ` Blue Swirl
2011-09-18 10:14 ` Stefan Weil
2011-09-17 20:00 ` [Qemu-devel] [PATCH 8/8] ppc: Support tcg interpreter on ppc hosts Stefan Weil
2011-09-17 21:31 ` Peter Maydell
2011-09-17 21:33 ` Stefan Weil
2011-09-18 10:26 ` [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine) Blue Swirl
2011-09-18 10:49 ` malc
2011-09-18 12:12 ` Blue Swirl
2011-09-18 12:46 ` malc
2011-09-18 13:00 ` Blue Swirl
2011-09-18 13:13 ` malc
2011-09-18 13:26 ` Blue Swirl
2011-09-25 20:37 ` Stefan Weil [this message]
2011-10-01 12:02 ` Blue Swirl
2011-09-18 15:02 ` Mulyadi Santosa
2011-09-18 15:13 ` Stefan Weil
2011-09-18 16:39 ` Mulyadi Santosa
2011-09-18 20:15 ` Stefan Weil
2011-09-19 15:14 ` Mulyadi Santosa
2011-09-19 8:40 ` David Gilbert
2011-09-19 10:20 ` Stefan Hajnoczi
2011-09-19 10:27 ` David Gilbert
2011-09-18 18:02 ` Avi Kivity
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=4E7F9103.9090805@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=blauwirbel@gmail.com \
--cc=geleman@gmail.com \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
--cc=stuart.brady@gmail.com \
/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 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).