[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 16/19] target-i386: cpu: do not ignore error
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH v3 16/19] target-i386: cpu: do not ignore error and fix apic parent |
Date: |
Wed, 13 Jul 2016 11:29:25 -0300 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Wed, Jul 06, 2016 at 08:20:52AM +0200, Igor Mammedov wrote:
> object_property_add_child() silently fails with error that it can't
> create duplicate propery 'apic' as we already have 'apic' property
> registered for 'apic' feature. As result generic device_realize puts
> apic into unattached container.
>
> As it's programming error, abort if name collision happens in future
> and fix property name for apic_state to 'lapic', this way apic is
> a child of cpu instance.
>
> Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
--
Eduardo
- Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug(), (continued)
[Qemu-devel] [PATCH v3 11/19] pc: cpu: allow device_add to be used with x86 cpu, Igor Mammedov, 2016/07/06
[Qemu-devel] [PATCH v3 12/19] apic: move MAX_APICS check to 'apic' class, Igor Mammedov, 2016/07/06
[Qemu-devel] [PATCH v3 13/19] apic: drop APICCommonState.idx and use APIC ID as index in local_apics[], Igor Mammedov, 2016/07/06
[Qemu-devel] [PATCH v3 14/19] (kvm)apic: add unrealize callbacks, Igor Mammedov, 2016/07/06
[Qemu-devel] [PATCH v3 15/19] apic: use apic_id as apic's migration instance_id, Igor Mammedov, 2016/07/06
[Qemu-devel] [PATCH v3 16/19] target-i386: cpu: do not ignore error and fix apic parent, Igor Mammedov, 2016/07/06
- Re: [Qemu-devel] [PATCH v3 16/19] target-i386: cpu: do not ignore error and fix apic parent,
Eduardo Habkost <=
[Qemu-devel] [PATCH v3 17/19] target-i386: fix apic object leak when CPU is deleted, Igor Mammedov, 2016/07/06
Re: [Qemu-devel] [PATCH v3 17/19] target-i386: fix apic object leak when CPU is deleted, Bandan Das, 2016/07/13
[Qemu-devel] [PATCH v3 18/19] target-i386: add x86_cpu_unrealizefn(), Igor Mammedov, 2016/07/06
[Qemu-devel] [PATCH v3 19/19] pc: make device_del CPU work for x86 CPUs, Igor Mammedov, 2016/07/06