Am 4. Januar 2023 14:44:31 UTC schrieb Bernhard Beschow <shen...@gmail.com>:
>This series first renders TYPE_PIIX3_XEN_DEVICE redundant and finally removes
>
>it. The motivation is to 1/ decouple PIIX from Xen and 2/ to make Xen in the PC
>
>machine agnostic to the precise southbridge being used. 2/ will become
>
>particularily interesting once PIIX4 becomes usable in the PC machine, avoiding
>
>the "Frankenstein" use of PIIX4_ACPI in PIIX3.
>
>
>
>v2:
>
>- xen_piix3_set_irq() is already generic. Just rename it. (Chuck)
>
>
>
>Testing done:
>
>None, because I don't know how to conduct this properly :(
Ping
Successfully tested by Chuck. Patches 2, 4 and 6 still need review.
I can rebase to master if that eases review -- please let me know. Currently
this series is based on my "Consolidate PIIX south bridges" series:
>Based-on: <20221221170003.2929-1-shen...@gmail.com>
>
> "[PATCH v4 00/30] Consolidate PIIX south bridges"
>
>
>
>Bernhard Beschow (6):
>
> include/hw/xen/xen: Rename xen_piix3_set_irq() to xen_intx_set_irq()
>
> hw/isa/piix: Reuse piix3_realize() in piix3_xen_realize()
>
> hw/isa/piix: Wire up Xen PCI IRQ handling outside of PIIX3
>
> hw/isa/piix: Avoid Xen-specific variant of piix_write_config()
>
> hw/isa/piix: Resolve redundant k->config_write assignments
>
> hw/isa/piix: Resolve redundant TYPE_PIIX3_XEN_DEVICE
>
>
>
> hw/i386/pc_piix.c | 34 ++++++++++++++++--
>
> hw/i386/xen/xen-hvm.c | 2 +-
>
> hw/isa/piix.c | 66 +----------------------------------
>
> include/hw/southbridge/piix.h | 1 -
>
> include/hw/xen/xen.h | 2 +-
>
> stubs/xen-hw-stub.c | 2 +-
>
> 6 files changed, 35 insertions(+), 72 deletions(-)
>
>
>
>-- >
>2.39.0
>
>
>