qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

typo: apci->acpi

apci_1_compatible should be acpi_1_compatible.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190125094047.22276-1-dgilbert@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>

authored by

Dr. David Alan Gilbert and committed by
Laurent Vivier
89cb0c04 aae04907

+3 -3
+1 -1
hw/acpi/cpu.c
··· 508 508 GArray *madt_buf = g_array_new(0, 1, 1); 509 509 int arch_id = arch_ids->cpus[i].arch_id; 510 510 511 - if (opts.apci_1_compatible && arch_id < 255) { 511 + if (opts.acpi_1_compatible && arch_id < 255) { 512 512 dev = aml_processor(i, 0, 0, CPU_NAME_FMT, i); 513 513 } else { 514 514 dev = aml_device(CPU_NAME_FMT, i);
+1 -1
hw/i386/acpi-build.c
··· 1847 1847 build_legacy_cpu_hotplug_aml(dsdt, machine, pm->cpu_hp_io_base); 1848 1848 } else { 1849 1849 CPUHotplugFeatures opts = { 1850 - .apci_1_compatible = true, .has_legacy_cphp = true 1850 + .acpi_1_compatible = true, .has_legacy_cphp = true 1851 1851 }; 1852 1852 build_cpus_aml(dsdt, machine, opts, pm->cpu_hp_io_base, 1853 1853 "\\_SB.PCI0", "\\_GPE._E02");
+1 -1
include/hw/acpi/cpu.h
··· 48 48 CPUHotplugState *state, hwaddr base_addr); 49 49 50 50 typedef struct CPUHotplugFeatures { 51 - bool apci_1_compatible; 51 + bool acpi_1_compatible; 52 52 bool has_legacy_cphp; 53 53 } CPUHotplugFeatures; 54 54