apic: use emulated lapic version 0x14 on pc machines >= 2.1
commitaa93200b88fb1071eaf21bf766711762ed4630e2
authorGabriel L. Somlo <gsomlo@gmail.com>
Mon, 5 May 2014 14:52:51 +0000 (5 10:52 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 7 May 2014 15:36:37 +0000 (7 18:36 +0300)
treea7963bbfbb776768ac2616950b1839b7becaf7fe
parent9df11c9f086e8329cdc06a67314ddce886841a5b
apic: use emulated lapic version 0x14 on pc machines >= 2.1

Add "version" property to local apic, and have it default to
0x14 for pc machines starting at 2.1. For compatibility with
previous releases, pc machines up to 2.0 will have their local
apic version set to 0x11.

Signed-off-by: Gabriel L. Somlo <somlo@cmu.edu>
Acked-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/intc/apic.c
hw/intc/apic_common.c
include/hw/i386/apic_internal.h
include/hw/i386/pc.h