]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
pc: Generate APIC IDs according to CPU topology
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 22 Jan 2013 20:25:09 +0000 (18:25 -0200)
committerAndreas Färber <afaerber@suse.de>
Sun, 27 Jan 2013 13:34:27 +0000 (14:34 +0100)
commit8932cfdf7b95734c9b4a114b8ed0b4527af77ce7
treeea92b07d04ffd7d3dfe7771e63fa343b44e32304
parent247c9de13f9d54a94734875000a9faea8168c8ca
pc: Generate APIC IDs according to CPU topology

This keeps compatibility on machine-types pc-1.2 and older, and prints a
warning in case the requested configuration won't get the correct
topology.

I couldn't think of a better way to warn about broken topology when in
compat mode other than using error_report(). The warning message will
probably be buried in a log file somewhere, but it's better than
nothing.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/pc_piix.c
target-i386/cpu.c
target-i386/cpu.h