Re: [Qemu-devel] [PATCH v3] target-i386: initialize APIC at CPU level

2012-10-10 Thread Luiz Capitulino
On Wed, 10 Oct 2012 12:01:29 +0200 Andreas Färber wrote: > Am 09.10.2012 19:17, schrieb Igor Mammedov: > > (L)APIC is a part of cpu [1] so move APIC initialization inside of > > x86_cpu object. Since cpu_model and override flags currently specify > > whether APIC should be created or not, APIC cr

Re: [Qemu-devel] [PATCH v3] target-i386: initialize APIC at CPU level

2012-10-10 Thread Andreas Färber
Am 10.10.2012 14:49, schrieb Igor Mammedov: > On Wed, 10 Oct 2012 12:01:29 +0200 > Andreas Färber wrote: > >> Am 09.10.2012 19:17, schrieb Igor Mammedov: >>> (L)APIC is a part of cpu [1] so move APIC initialization inside of >>> x86_cpu object. Since cpu_model and override flags currently specify

Re: [Qemu-devel] [PATCH v3] target-i386: initialize APIC at CPU level

2012-10-10 Thread Igor Mammedov
On Wed, 10 Oct 2012 12:01:29 +0200 Andreas Färber wrote: > Am 09.10.2012 19:17, schrieb Igor Mammedov: > > (L)APIC is a part of cpu [1] so move APIC initialization inside of > > x86_cpu object. Since cpu_model and override flags currently specify > > whether APIC should be created or not, APIC cr

Re: [Qemu-devel] [PATCH v3] target-i386: initialize APIC at CPU level

2012-10-10 Thread Andreas Färber
Am 09.10.2012 19:17, schrieb Igor Mammedov: > (L)APIC is a part of cpu [1] so move APIC initialization inside of > x86_cpu object. Since cpu_model and override flags currently specify > whether APIC should be created or not, APIC creation&initialization is > moved into x86_cpu_apic_init() which is

[Qemu-devel] [PATCH v3] target-i386: initialize APIC at CPU level

2012-10-09 Thread Igor Mammedov
(L)APIC is a part of cpu [1] so move APIC initialization inside of x86_cpu object. Since cpu_model and override flags currently specify whether APIC should be created or not, APIC creation&initialization is moved into x86_cpu_apic_init() which is called from x86_cpu_realize(). [1] - all x86 cpus h