From: "Daniel P. Berrange" <berrange@redhat.com>
To: Sergio Andres Gomez Del Real <sergio.g.delreal@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository
Date: Wed, 30 Aug 2017 15:07:38 +0100 [thread overview]
Message-ID: <20170830140738.GS18526@redhat.com> (raw)
In-Reply-To: <20170830082702.3011-3-Sergio.G.DelReal@gmail.com>
On Wed, Aug 30, 2017 at 03:26:51AM -0500, Sergio Andres Gomez Del Real wrote:
> This file begins tracking the files that will be the code base for HVF
> support in QEMU. This code base is part of Google's QEMU version of
> their Android emulator, and can be found at
> https://android.googlesource.com/platform/external/qemu/+/emu-master-dev
>
> This code is based on Veertu Inc's vdhh (Veertu Desktop Hosted
> Hypervisor), found at https://github.com/veertuinc/vdhh. Everything is
> appropriately licensed under GPL v2.
The licensing seems a little more complicated than that
Per the QEMU LICENSE file new contributions must be GPL v2-or-later
> diff --git a/target/i386/hvf-all.c b/target/i386/hvf-all.c
> new file mode 100644
> index 0000000000..0a1a5134f8
> --- /dev/null
> +++ b/target/i386/hvf-all.c
> @@ -0,0 +1,999 @@
> +// Copyright 2008 IBM Corporation
> +// 2008 Red Hat, Inc.
> +// Copyright 2011 Intel Corporation
> +// Copyright 2016 Veertu, Inc.
> +// Copyright 2017 The Android Open Source Project
> +//
> +// QEMU Hypervisor.framework support
> +//
> +// This software is licensed under the terms of the GNU General Public
> +// License version 2, as published by the Free Software Foundation, and
> +// may be copied, distributed, and modified under those terms.
> +//
> +// This program is distributed in the hope that it will be useful,
> +// but WITHOUT ANY WARRANTY; without even the implied warranty of
> +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> +// GNU General Public License for more details.
This is v2-only.
If this v2-only license is inherited due to the file being derived
from another pre-existing file in QEMU that was v2-only, we could
possibly make an exception to allow another v2-only file in tree.
Preferably it should be v2-or-later though.
> diff --git a/target/i386/hvf-utils/vmcs.h b/target/i386/hvf-utils/vmcs.h
> new file mode 100644
> index 0000000000..6f7ccb361a
> --- /dev/null
> +++ b/target/i386/hvf-utils/vmcs.h
> @@ -0,0 +1,368 @@
> +/*-
> + * Copyright (c) 2011 NetApp, Inc.
> + * All rights reserved.
> + *
> + * Redistribution and use in source and binary forms, with or without
> + * modification, are permitted provided that the following conditions
> + * are met:
> + * 1. Redistributions of source code must retain the above copyright
> + * notice, this list of conditions and the following disclaimer.
> + * 2. Redistributions in binary form must reproduce the above copyright
> + * notice, this list of conditions and the following disclaimer in the
> + * documentation and/or other materials provided with the distribution.
> + *
> + * THIS SOFTWARE IS PROVIDED BY NETAPP, INC ``AS IS'' AND
> + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> + * ARE DISCLAIMED. IN NO EVENT SHALL NETAPP, INC OR CONTRIBUTORS BE LIABLE
> + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
> + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
> + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
> + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
> + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
> + * SUCH DAMAGE.
> + *
> + * $FreeBSD$
> + */
A BSD license variant. OK since its GPL compatible and just a header file
copied from a 3rd party project.
> diff --git a/target/i386/hvf-utils/vmx.h b/target/i386/hvf-utils/vmx.h
> new file mode 100644
> index 0000000000..8a080e6777
> --- /dev/null
> +++ b/target/i386/hvf-utils/vmx.h
> @@ -0,0 +1,200 @@
> +/*
> + * Copyright (C) 2016 Veertu Inc,
> + * Copyright (C) 2017 Google Inc,
> + * Based on Veertu vddh/vmm/vmx.h
> + *
> + * Interfaces to Hypervisor.framework to read/write X86 registers and VMCS.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 or
> + * (at your option) version 3 of the License.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License along
> + * with this program; if not, see <http://www.gnu.org/licenses/>.
> + */
This is v2-or-v3-only, which is not OK for QEMU.
It needs to be v2-or-later
> diff --git a/target/i386/hvf-utils/x86.c b/target/i386/hvf-utils/x86.c
> new file mode 100644
> index 0000000000..e3db2c9c8b
> --- /dev/null
> +++ b/target/i386/hvf-utils/x86.c
> @@ -0,0 +1,174 @@
> +/*
> + * Copyright (C) 2016 Veertu Inc,
> + * Copyright (C) 2017 Google Inc,
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 or
> + * (at your option) version 3 of the License.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License along
> + * with this program; if not, see <http://www.gnu.org/licenses/>.
> + */
Again v2-or-v3-only.
There's many more files with this same problem but I'll stop pointing
them out now.
If this is to be included in QEMU, Veertu & Google (and any other
copyright holders) would have to agree to change these files to
v2-or-later
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 :|
next prev parent reply other threads:[~2017-08-30 14:07 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 8:26 [Qemu-devel] [PATCH v2 00/13] add support for Hypervisor.framework in QEMU Sergio Andres Gomez Del Real
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 01/13] hvf: add support for Hypervisor.framework in the configure script Sergio Andres Gomez Del Real
2017-08-30 10:18 ` Stefan Hajnoczi
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository Sergio Andres Gomez Del Real
2017-08-30 14:07 ` Daniel P. Berrange [this message]
2017-08-31 7:42 ` Stefan Hajnoczi
2017-08-31 11:26 ` Paolo Bonzini
2017-08-31 12:01 ` Izik Eidus
2017-08-31 21:21 ` Paolo Bonzini
2017-08-31 21:39 ` Izik Eidus
2017-09-03 16:16 ` Izik Eidus
2017-09-03 16:35 ` Paolo Bonzini
2017-09-03 16:53 ` Izik Eidus
[not found] ` <CABgObfaDuLvaxpb-GmefsNcoUsjJi3y_oAnfYuQU8LQcGtx9zQ@mail.gmail.com>
2017-09-03 17:13 ` Paolo Bonzini
2017-09-03 18:49 ` Izik Eidus
[not found] ` <CABgObfZTRAF7NJea=-SyNy67ZXFZVgoQLRjgswvPSs14euq+zw@mail.gmail.com>
2017-09-04 6:47 ` Paolo Bonzini
2017-09-06 13:28 ` Izik Eidus
[not found] ` <CABgObfac1_DfU1JSu6AeocYQWEqQURxdFt2JPDHzEXG15EOPwQ@mail.gmail.com>
2017-09-06 14:28 ` Paolo Bonzini
2017-09-06 14:45 ` Izik Eidus
2017-08-31 21:41 ` Sergio Andrés Gómez del Real
2017-08-31 22:02 ` Frank Yang
2017-08-31 22:10 ` Izik Eidus
2017-09-01 9:18 ` Daniel P. Berrange
2017-09-01 17:59 ` Izik Eidus
2017-09-03 6:23 ` Paolo Bonzini
2017-09-03 13:00 ` Izik Eidus
2017-09-03 16:33 ` Sergio Andrés Gómez del Real
2017-09-03 16:38 ` Sergio Andrés Gómez del Real
2017-09-03 2:26 ` Izik Eidus
2017-08-31 7:54 ` Stefan Hajnoczi
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 03/13] hvf: add compilation rules to Makefile.objs Sergio Andres Gomez Del Real
2017-08-30 10:22 ` Stefan Hajnoczi
2017-08-30 10:26 ` Stefan Hajnoczi
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 04/13] hvf: run hvf code through checkpatch.pl and fix style issues Sergio Andres Gomez Del Real
2017-08-31 8:01 ` Stefan Hajnoczi
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 05/13] hvf: add fields to CPUState and CPUX86State; add definitions Sergio Andres Gomez Del Real
2017-08-30 10:24 ` Stefan Hajnoczi
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 06/13] hvf: use new helper functions for put/get xsave Sergio Andres Gomez Del Real
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 07/13] apic: add function to apic that will be used by hvf Sergio Andres Gomez Del Real
2017-08-31 8:07 ` Stefan Hajnoczi
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 08/13] hvf: implement hvf_get_supported_cpuid Sergio Andres Gomez Del Real
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 09/13] hvf: refactor cpuid code Sergio Andres Gomez Del Real
2017-08-31 8:12 ` Stefan Hajnoczi
2017-08-30 8:26 ` [Qemu-devel] [PATCH v2 10/13] hvf: implement vga dirty page tracking Sergio Andres Gomez Del Real
2017-08-31 8:20 ` Stefan Hajnoczi
2017-08-30 8:27 ` [Qemu-devel] [PATCH v2 11/13] hvf: move fields from CPUState to CPUX86State Sergio Andres Gomez Del Real
2017-08-31 9:18 ` Stefan Hajnoczi
2017-08-30 8:27 ` [Qemu-devel] [PATCH v2 12/13] hvf: refactor event injection code for hvf Sergio Andres Gomez Del Real
2017-08-30 8:27 ` [Qemu-devel] [PATCH v2 13/13] hvf: inject General Protection Fault when vmexit through vmcall Sergio Andres Gomez Del Real
2017-08-30 13:49 ` [Qemu-devel] [PATCH v2 00/13] add support for Hypervisor.framework in QEMU no-reply
2017-08-30 14:14 ` no-reply
2017-08-31 9:34 ` Stefan Hajnoczi
2017-09-08 21:49 ` Sergio Andrés Gómez del Real
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=20170830140738.GS18526@redhat.com \
--to=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=sergio.g.delreal@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.