qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/4] pc: make ACPI pcihp more reusable


From: Igor Mammedov
Subject: [Qemu-devel] [PATCH 0/4] pc: make ACPI pcihp more reusable
Date: Tue, 21 Jan 2014 15:40:02 +0100

Reuses new pcihp code for handling legacy PCI hotplug in
acpi/piix4_pm, which significantly reduces code duplication
between piix4_pm and pcihp amd makes pcihp less dependend
on piix4 specific details.

It also allows cleaner rebase of generic hotplug refactoring,
by not increasing code duplication since it will need to be
done only for pcihp.

Git tree for testing based on mst's PCI tree:
https://github.com/imammedo/qemu/commits/pcihp_cleanup_v1

Igor Mammedov (4):
  hw:piix4:acpi: replace enable|disable_device() with oneliners
  hw:piix4:acpi: make PCI hotplug mmio handlers indifferent to
    PCI_HOTPLUG_ADDR
  hw:acpi:pcihp: assume root PCI bus if bus has no ACPI_PCIHP_PROP_BSEL
    property
  hw:piix4:acpi: reuse pcihp code for legacy PCI hotplug

 hw/acpi/pcihp.c         |   58 +++++---------
 hw/acpi/piix4.c         |  196 +++++------------------------------------------
 include/hw/acpi/pcihp.h |    8 ++-
 3 files changed, 48 insertions(+), 214 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]