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

2012-10-10 Thread Andreas Färber
Am 10.10.2012 21:43, 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 v4] target-i386: initialize APIC at CPU level

2012-10-10 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