[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 22/23] container: make a decendent of Object
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH 22/23] container: make a decendent of Object |
Date: |
Tue, 31 Jan 2012 10:21:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 |
Am 31.01.2012 08:50, schrieb Paolo Bonzini:
> On 01/30/2012 10:09 PM, Anthony Liguori wrote:
>> diff --git a/qom/container.c b/qom/container.c
>> new file mode 100644
>> index 0000000..39d7b1e
>> --- /dev/null
>> +++ b/qom/container.c
>> @@ -0,0 +1,15 @@
>> +#include "qemu/object.h"
>> +#include "module.h"
>> +
>> +static TypeInfo container_info = {
>> + .name = "container",
>> + .instance_size = sizeof(Object),
>> + .parent = TYPE_OBJECT,
>> +};
>> +
>
> License header, please. (GPLv2+ or LGPLv2+?)
Given that object.c is GPLv2+, I've sticked with that license myself;
but was that choice of license intentional? Effectively means we can't
really have any liberally-licensed device emulation. (But same holds for
MemoryAPI.)
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- [Qemu-devel] [PATCH 00/23] qom: use Type system to register all devices, (continued)
- [Qemu-devel] [PATCH 00/23] qom: use Type system to register all devices, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 11/23] qom: allow object_class_foreach to take additional parameters to refine search, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 15/23] qdev: split out UI portions into a new function, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 21/23] object: sure up reference counting, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 12/23] qom: add new command to search for types, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 22/23] container: make a decendent of Object, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 20/23] info qdm: do not require a parent_bus to be set, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 19/23] qdev: implement cleanup logic in finalize, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 16/23] qdev: nuke qdev_init_chardev(), Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 10/23] qdev: remove baked in notion of aliases, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 09/23] qdev: kill of DeviceInfo, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 13/23] qdev: split out common init to instance_init, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 23/23] not-for-upstream: fix device_del, Anthony Liguori, 2012/01/30