pc: Add x86_topo_ids_from_apicid()
commit9f3aab58539b4cc716e42e772be8116dc2e7d159
authorIgor Mammedov <imammedo@redhat.com>
Wed, 6 Jul 2016 06:20:38 +0000 (6 08:20 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 20 Jul 2016 14:58:44 +0000 (20 11:58 -0300)
treec18681d78cac0b60a11e52a764ab6dd1088b3ef9
parentd9c84f196970f78d4b55ab87e03cbcad7c65f86f
pc: Add x86_topo_ids_from_apicid()

It's reverse of apicid_from_topo_ids() and will be used in follow up
patches to fill in data structures for query-hotpluggable-cpus and
for user friendly error reporting.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/hw/i386/topology.h