aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/cpu-qom.h
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-09-28 15:46:08 +0200
committerCornelia Huck <cohuck@redhat.com>2017-10-06 10:53:02 +0200
commit1e70ba24a906211c26930f4f41a674fcb685f8ef (patch)
tree6140d0c507a76fdc2897550fb4e7887cb5661bb4 /target/s390x/cpu-qom.h
parentc547a757f492cb037aec81965893046b7ef6d201 (diff)
target/s390x: get rid of next_core_id
core_id is not needed by linux-user, as the core_id a.k.a. CPU address is only accessible from kernel space. Therefore, drop next_core_id and make cpu_index get autoassigned again for linux-user. While at it, shield core_id and cpuid completely from linux-user. cpuid can also only be queried from kernel space. Suggested-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170928134609.16985-5-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/cpu-qom.h')
-rw-r--r--target/s390x/cpu-qom.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/s390x/cpu-qom.h b/target/s390x/cpu-qom.h
index 2e446fab51..0510c49e07 100644
--- a/target/s390x/cpu-qom.h
+++ b/target/s390x/cpu-qom.h
@@ -54,8 +54,6 @@ typedef struct S390CPUClass {
bool is_migration_safe;
const char *desc;
- uint32_t next_core_id;
-
DeviceRealize parent_realize;
void (*parent_reset)(CPUState *cpu);
void (*load_normal)(CPUState *cpu);