qemu-e2k/hw/mips
Igor Mammedov bd64c210ce hw/mips/malta: turn off x86 specific features of PIIX4_PM
QEMU crashes trying to save VMSTATE when only MIPS target are compiled in
  $ qemu-system-mips -monitor stdio
  (qemu) migrate "exec:gzip -c > STATEFILE.gz"
  Segmentation fault (core dumped)

It happens due to PIIX4_PM trying to parse hotplug vmstate structures
which are valid only for x86 and not for MIPS (as it requires ACPI
tables support which is not existent for ithe later)

Issue was probably exposed by trying to cleanup/compile out unused
ACPI bits from MIPS target (but forgetting about migration bits).

Disable compiled out features using compat properties as the least
risky way to deal with issue.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/995
Reviewed-by: Ani Sinha <ani@anisinha.ca>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220728115034.1327988-1-imammedo@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2022-08-08 23:23:11 +02:00
..
bootloader.c hw/mips/bootloader: Fix write_ulong() 2021-12-06 11:57:31 +01:00
boston.c hw/mips: boston: pass random seed to fdt 2022-07-22 19:01:44 +02:00
cps.c
fuloong2e.c Warn user if the vga flag is passed but no vga device is created 2022-05-09 08:21:14 +02:00
fw_cfg.c
fw_cfg.h
gt64xxx_pci.c Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
jazz.c pckbd: remove legacy i8042_mm_init() function 2022-07-18 19:28:46 +01:00
Kconfig hw/display: Rename VGA_ISA_MM -> VGA_MMIO 2022-01-13 10:58:54 +01:00
loongson3_bootp.c
loongson3_bootp.h
loongson3_virt.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
malta.c hw/mips/malta: turn off x86 specific features of PIIX4_PM 2022-08-08 23:23:11 +02:00
meson.build
mips_int.c
mipssim.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
trace-events
trace.h