Signed-off-by: Igor Mammedov <imamm...@redhat.com>
---
 hw/acpi/cpu.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hw/acpi/cpu.c b/hw/acpi/cpu.c
index e10903b..01405e7 100644
--- a/hw/acpi/cpu.c
+++ b/hw/acpi/cpu.c
@@ -563,6 +563,11 @@ void build_cpus_aml(Aml *table, MachineState *machine, 
bool acpi1_compat,
                         apic->flags = cpu_to_le32(1);
                         break;
                     }
+                    case ACPI_APIC_LOCAL_X2APIC: {
+                        AcpiMadtProcessorX2Apic *apic = (void *)buf->data;
+                        apic->flags = cpu_to_le32(1);
+                        break;
+                    }
                     default:
                         assert(0);
                     }
-- 
1.8.3.1


Reply via email to