]> git.proxmox.com Git - qemu.git/blobdiff - cpu-defs.h
extend -smp parsing to include cores= and threads= options
[qemu.git] / cpu-defs.h
index 5b80b1b3602c85a3fb61826849c004cbdd41199d..b6c8b955c1e406fd38ceadb073278f0fed5d741f 100644 (file)
@@ -185,6 +185,8 @@ typedef struct CPUWatchpoint {
     int cpu_index; /* CPU index (informative) */                        \
     uint32_t host_tid; /* host thread ID */                             \
     int numa_node; /* NUMA node this cpu is belonging to  */            \
+    int nr_cores;  /* number of cores within this CPU package */        \
+    int nr_threads;/* number of threads within this CPU */              \
     int running; /* Nonzero if cpu is currently running(usermode).  */  \
     /* user data */                                                     \
     void *opaque;                                                       \