aboutsummaryrefslogtreecommitdiff
path: root/cpu-defs.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-09 02:22:57 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-09 02:22:57 +0000
commit01ba98161f954621bcf557ad8d5a0838d18000a1 (patch)
tree9f95161d17b12c2f2617b9441b8653891ee9b041 /cpu-defs.h
parent1b66074b2f93a5d3f337d2aab10504426e756e50 (diff)
Handle cpu_model in copy_cpu(), by Kirill A. Shutemov.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3778 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-defs.h')
-rw-r--r--cpu-defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu-defs.h b/cpu-defs.h
index 139dca2e79..5e0f04674e 100644
--- a/cpu-defs.h
+++ b/cpu-defs.h
@@ -146,6 +146,8 @@ typedef struct CPUTLBEntry {
void *next_cpu; /* next CPU sharing TB cache */ \
int cpu_index; /* CPU index (informative) */ \
/* user data */ \
- void *opaque;
+ void *opaque; \
+ \
+ const char *cpu_model_str;
#endif