[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n]
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n] |
Date: |
Fri, 08 Jun 2012 12:45:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0 |
Am 08.06.2012 12:36, schrieb Andreas Färber:
> Am 08.06.2012 12:21, schrieb Jan Kiszka:
>> On 2012-06-08 11:11, Andreas Färber wrote:
>>> >From what I understand about the x86 modeling, the only case this
>>> matters is if you hot-unplug CPU 0, right? Question is, what happens
>>> with the APIC then? I would guess the remaining n-1 CPUs still want to
>>> access the APIC
>>
>> APICs are per-CPU, each has its own.
>
> Uh, seems I'm seriously confusing APIC with something else then...
Guess I misread this as apic_init() in Igor's patch:
+ if (env->cpu_index == 0) {
+ apic_designate_bsp(env->apic_state);
+ }
Shame on me. :/
/-F
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n], Igor Mammedov, 2012/06/08
- Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n], Igor Mammedov, 2012/06/08
- Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n], Andreas Färber, 2012/06/08
- Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n], Jan Kiszka, 2012/06/08
- Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n], Igor Mammedov, 2012/06/08
- Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n], Jan Kiszka, 2012/06/08
- Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n], Andreas Färber, 2012/06/08
- Re: [Qemu-devel] [PATCH qom-next 04/59] pc: Add CPU as /machine/cpu[n], Q (Igor Mammedov), 2012/06/08