Skip to content
Snippets Groups Projects
Commit 5ce46cb3 authored by Eduardo Habkost's avatar Eduardo Habkost
Browse files

cpu: cpu_by_arch_id() helper


The helper can be used for CPU object lookup using the CPU's
arch-specific ID (the one returned by CPUClass::get_arch_id()).

Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
[Yi Wang: Added documentation comments]
Signed-off-by: default avatarYi Wang <wang.yi59@zte.com.cn>
Signed-off-by: default avatarYun Liu <liu.yunh@zte.com.cn>
[ehabkost: extracted cpu_by_arch_id() to a separate patch]
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent 3beacfb9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment