[PATCH-for-5.0 0/2] hw/acpi/piix4: Restrict 'system hotplug' feature to i440fx PC machine

Philippe Mathieu-Daudé posted 2 patches 5 years, 8 months ago
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test FreeBSD passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200318221531.22910-1-philmd@redhat.com
Maintainers: "Philippe Mathieu-Daudé" <philmd@redhat.com>, Richard Henderson <rth@twiddle.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Hervé Poussineau" <hpoussin@reactos.org>, Igor Mammedov <imammedo@redhat.com>, Aurelien Jarno <aurelien@aurel32.net>, Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
include/hw/southbridge/piix.h |  3 ++-
hw/acpi/piix4.c               | 13 ++++++++++---
hw/i386/pc_piix.c             |  1 +
hw/isa/piix4.c                |  2 +-
4 files changed, 14 insertions(+), 5 deletions(-)
[PATCH-for-5.0 0/2] hw/acpi/piix4: Restrict 'system hotplug' feature to i440fx PC machine
Posted by Philippe Mathieu-Daudé 5 years, 8 months ago
This feature is not documented in the PIIX4 datasheet. It appears
to be only used on the i440fx PC machine. Add a property to the
PIIX4_PM device to restrict its use. This fixes MIPS guest crashing
QEMU when accessing ioport 0xaf00.

Philippe Mathieu-Daudé (2):
  hw/acpi/piix4: Add 'system-hotplug-support' property
  hw/acpi/piix4: Restrict system-hotplug-support to x86 i440fx PC
    machine

 include/hw/southbridge/piix.h |  3 ++-
 hw/acpi/piix4.c               | 13 ++++++++++---
 hw/i386/pc_piix.c             |  1 +
 hw/isa/piix4.c                |  2 +-
 4 files changed, 14 insertions(+), 5 deletions(-)

-- 
2.21.1