summaryrefslogtreecommitdiffstats
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2013-01-22 18:25:02 -0200
committerAndreas Färber <afaerber@suse.de>2013-01-27 14:34:26 +0100
commit83b17af5e619abdf11721826b08fa4f30e9dc4ee (patch)
tree35585ed841f963736951409fdbc6a92fb57064f6 /target-i386/cpu.h
parentb164e48ed1600055bc190aa3ab42c18004d2c711 (diff)
downloadhqemu-83b17af5e619abdf11721826b08fa4f30e9dc4ee.zip
hqemu-83b17af5e619abdf11721826b08fa4f30e9dc4ee.tar.gz
target-i386: kvm: Set vcpu_id to APIC ID instead of CPU index
The CPU ID in KVM is supposed to be the APIC ID, so change the KVM_CREATE_VCPU call to match it. The current behavior didn't break anything yet because today the APIC ID is assumed to be equal to the CPU index, but this won't be true in the future. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com> Acked-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-i386/cpu.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud