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.

Backports commit d89c2b8b98e097b9cad5104b0f178bde1cfa011b from qemu
This commit is contained in:
Igor Mammedov 2018-02-25 20:45:27 -05:00 committed by Lioncash
parent 2ac9df3633
commit 6714284211
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -1204,6 +1204,10 @@ typedef struct X86CPU {
struct DeviceState *apic_state;
struct MemoryRegion *cpu_as_root;
int32_t socket_id;
int32_t core_id;
int32_t thread_id;
/* Features to be added */
FeatureWordArray plus_features;
/* Features to be removed */