On 19/10/25 23:03, Bernhard Beschow wrote:
Avoids the `current_cpu` global and seems more robust by not "forgetting" the
own APIC and then re-determining it by cpu_get_current_apic() which uses the
global.

Signed-off-by: Bernhard Beschow <[email protected]>
---
  include/hw/i386/apic.h               |  4 ++--
  hw/intc/apic.c                       | 10 ++--------
  target/i386/hvf/hvf.c                |  4 ++--
  target/i386/tcg/system/misc_helper.c |  4 ++--
  4 files changed, 8 insertions(+), 14 deletions(-)

Good cleanup!

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to