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

Philippe Mathieu-Daudé posted 5 patches 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231003082728.83496-1-philmd@linaro.org
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Peter Xu <peterx@redhat.com>, Jason Wang <jasowang@redhat.com>
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(-)
[PATCH v2 0/5] hw/intc/apic: QOM cleanup
Posted by Philippe Mathieu-Daudé 7 months ago
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(-)

-- 
2.41.0