[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in port
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code |
Date: |
Wed, 29 May 2013 09:58:03 -0500 |
User-agent: |
Notmuch/0.15.2+77~g661dcf8 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
"Michael S. Tsirkin" <address@hidden> writes:
> On Wed, May 29, 2013 at 08:05:29AM -0500, Anthony Liguori wrote:
>> Rusty Russell <address@hidden> writes:
>>
>> > Anthony Liguori <address@hidden> writes:
>> >> The headers say they are BSD licensed... but they include a GPLv2+
>> >> header. Doesn't make a lot of sense, does it?
>> >
>> > It makes perfect sense: you're overthinking it. It just means that
>> > copying the BSD headers outside Linux is encouraged.
>>
>> Copying by hand and modifying. This patch series attempts to do it
>> automatically within QEMU.
>>
>> > And it's clearly nonsensical to claim the GPL on kernel headers means
>> > that userspace needs to be GPL. So please ignore this licensing
>> > red-herring.
>>
>> You're missing context, I suspect. This series is trying to
>> automatically copy the headers from Linux. We currently have a manually
>> copied version.
>>
>> The headers are not currently well suited for automatic copying because
>> (1) they use kernel types (2) they pull in dependencies from throughout
>> the kernel.
>>
>> This discussion comes down to whether we want to make it easier to
>> automatically copy the headers or do we maintain the status quo and
>> require manual munging to pull in the headers.
>>
>> Regards,
>>
>> Anthony Liguori
>
> Okay, what if I
>
> 1. add a stub if_ether.h with a couple of macros we want
> 2. replace the types during copying
>
> Would this address all concerns?
If Rusty doesn't like the idea of making the headers usable directly,
then I don't object to having stubs/scripts to sanitize them in QEMU.
Regards,
Anthony Liguori
>
>> >
>> > And we'll bikeshed the headers in the standard when we have to :) They
>> > certainly don't need to be cut&paste into the kernel sources.
>> >
>> > Cheers,
>> > Rusty.
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, (continued)
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Paolo Bonzini, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Anthony Liguori, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Michael S. Tsirkin, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Anthony Liguori, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Michael S. Tsirkin, 2013/05/27
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Anthony Liguori, 2013/05/27
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Michael S. Tsirkin, 2013/05/28
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Rusty Russell, 2013/05/29
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Anthony Liguori, 2013/05/29
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Michael S. Tsirkin, 2013/05/29
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code,
Anthony Liguori <=
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Rusty Russell, 2013/05/27
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Anthony Liguori, 2013/05/27
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Rusty Russell, 2013/05/29
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Bryan Venteicher, 2013/05/29
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Peter Maydell, 2013/05/27