Re: [Qemu-devel] [PATCH v3 12/19] apic: move MAX_APICS check to 'apic' class

2016-07-13 Thread Bandan Das
Eduardo Habkost writes: > On Wed, Jul 13, 2016 at 06:47:20PM -0400, Bandan Das wrote: >> Igor Mammedov writes: >> >> > MAX_APICS is only used by child 'apic' class and not >> > by its parent TYPE_APIC_COMMON or any other derived >> > class. >> > Move check into end user 'apic' class so it won't

Re: [Qemu-devel] [PATCH v3 12/19] apic: move MAX_APICS check to 'apic' class

2016-07-13 Thread Eduardo Habkost
On Wed, Jul 13, 2016 at 06:47:20PM -0400, Bandan Das wrote: > Igor Mammedov writes: > > > MAX_APICS is only used by child 'apic' class and not > > by its parent TYPE_APIC_COMMON or any other derived > > class. > > Move check into end user 'apic' class so it won't > > get in the way of other APIC

Re: [Qemu-devel] [PATCH v3 12/19] apic: move MAX_APICS check to 'apic' class

2016-07-13 Thread Bandan Das
Igor Mammedov writes: > MAX_APICS is only used by child 'apic' class and not > by its parent TYPE_APIC_COMMON or any other derived > class. > Move check into end user 'apic' class so it won't > get in the way of other APIC implementations > if they support more then MAX_APICS. > > Signed-off-by:

[Qemu-devel] [PATCH v3 12/19] apic: move MAX_APICS check to 'apic' class

2016-07-05 Thread Igor Mammedov
MAX_APICS is only used by child 'apic' class and not by its parent TYPE_APIC_COMMON or any other derived class. Move check into end user 'apic' class so it won't get in the way of other APIC implementations if they support more then MAX_APICS. Signed-off-by: Igor Mammedov --- hw/intc/apic.c