mbox series

[v2,0/5] hw/intc/apic: QOM cleanup

Message ID 20231003082728.83496-1-philmd@linaro.org
Headers show
Series hw/intc/apic: QOM cleanup | expand

Message

Philippe Mathieu-Daudé Oct. 3, 2023, 8:27 a.m. UTC
Since v1:
- Dropped change in x86_cpu_realizefn (rth)
- Simplify kvm_apic_realize() error propagation

Minor cleanup extracted from a bigger series
touching x86_cpu_realizefn().

Philippe Mathieu-Daudé (5):
  hw/intc/apic: Use ERRP_GUARD() in apic_common_realize()
  hw/i386/apic: Defer error check from apic_get_class to
    kvm_apic_realize
  hw/i386/apic: Simplify apic_get_class()
  hw/intc/apic: Rename x86_cpu_apic_create() -> x86_cpu_apic_new()
  hw/intc/apic: Pass CPU using QOM link property

 include/hw/i386/apic_internal.h |  2 +-
 target/i386/cpu-internal.h      |  2 +-
 hw/i386/amd_iommu.c             |  2 +-
 hw/i386/intel_iommu.c           |  4 ++--
 hw/i386/kvm/apic.c              |  5 +++++
 hw/intc/apic_common.c           |  8 +++++++-
 target/i386/cpu-sysemu.c        | 23 +++++++----------------
 target/i386/cpu.c               |  5 +----
 8 files changed, 25 insertions(+), 26 deletions(-)