diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-06-10 15:40:48 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-13 19:19:22 -0500 |
commit | 678e12cc9054e8a9eafc43a5b4b65d335d6651d4 (patch) | |
tree | e70fc49775b9312023fec2130c3d9b685016ece1 /posix-aio-compat.h | |
parent | c4f31a0a0c1f44a5253f892fea4e711028021c66 (diff) | |
download | qemu-678e12cc9054e8a9eafc43a5b4b65d335d6651d4.zip qemu-678e12cc9054e8a9eafc43a5b4b65d335d6651d4.tar.gz qemu-678e12cc9054e8a9eafc43a5b4b65d335d6651d4.tar.bz2 |
Don't use cpu_index as apic_id.
(patch is on top of "Apic creation should not depend on pci" series)
Currently cpu_index is used as cpu apic id on x86. This is incorrect
since apic ids not have to be continuous (they can also encode cpu
hierarchy information). This patch uses cpuid_apic_id for initial apic id
value. For now cpuid_apic_id is set to be equal to cpu_index so behaviour
is fully backward compatible, but it allows us to add qemu option to
provide other values for cpu apic id.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'posix-aio-compat.h')
0 files changed, 0 insertions, 0 deletions