[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] target-i386: initialize APIC at CPU level
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH v5] target-i386: initialize APIC at CPU level |
Date: |
Sun, 14 Oct 2012 06:09:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0 |
Am 13.10.2012 22:35, 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 called from x86_cpu_realize().
>
> [1] - all x86 cpus have integrated APIC if we overlook existence of i486,
> and it's more convenient to model after majority of them.
>
> Signed-off-by: Igor Mammedov <address@hidden>
> ---
> v5: fix *-user target build, smp_cpus is defined for softmmu only
I do not run into any build issue with v4. Is it a runtime issue?
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg