Re: [Qemu-devel] [PULL 2/9] apic_common: improve readability of apic_reset_common

2015-05-08 Thread Andreas Färber
Am 08.05.2015 um 14:48 schrieb Paolo Bonzini: > From: "Denis V. Lunev" > > Replace call of cpu_is_bsp(s->cpu) which really returns > !!(s->apicbase & MSR_IA32_APICBASE_BSP) > with directly collected value. Due to this the tracepoint > trace_cpu_get_apic_base((uint64_t)s->apicbase); > will n

[Qemu-devel] [PULL 2/9] apic_common: improve readability of apic_reset_common

2015-05-08 Thread Paolo Bonzini
From: "Denis V. Lunev" Replace call of cpu_is_bsp(s->cpu) which really returns !!(s->apicbase & MSR_IA32_APICBASE_BSP) with directly collected value. Due to this the tracepoint trace_cpu_get_apic_base((uint64_t)s->apicbase); will not be hit anymore in apic_reset_common. Signed-off-by: Deni