mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target-i386: Add socket/core/thread properties to X86CPU
These properties will be used by as address where to plug CPU with help -device/device_add commands. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
2da00e3176
commit
d89c2b8b98
3 changed files with 39 additions and 0 deletions
|
@ -1219,6 +1219,10 @@ struct X86CPU {
|
|||
Notifier machine_done;
|
||||
|
||||
struct kvm_msrs *kvm_msr_buf;
|
||||
|
||||
int32_t socket_id;
|
||||
int32_t core_id;
|
||||
int32_t thread_id;
|
||||
};
|
||||
|
||||
static inline X86CPU *x86_env_get_cpu(CPUX86State *env)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue