Skip to contentSkip to conversation

hw/core/cpu: Update description of CPUState::node

PATCH In review Philippe Mathieu-Daudé 2 participants 2 messages Nov 29, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/core/cpu: Update description of CPUState::node

'next_cpu' was converted to 'node' in commit bdc44640cb ("cpu: Use QTAILQ for CPU list").

---
 include/hw/core/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/core/cpu.h +1 -1
index 134ecb907e..3208b938f7 100644
@@ -430,7 +430,7 @@ struct qemu_work_item;
  * @gdb_regs: Additional GDB registers.
  * @gdb_num_regs: Number of total registers accessible to GDB.
  * @gdb_num_g_regs: Number of registers in GDB 'g' packets.
- * @next_cpu: Next CPU sharing TB cache.
+ * @node: QTAILQ of CPUs sharing TB cache.
  * @opaque: User data.
  * @mem_io_pc: Host Program Counter at which the memory was accessed.
  * @accel: Pointer to accelerator specific state.
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Philippe Mathieu-Daudé

'next_cpu' was converted to 'node' in commit bdc44640cb ("cpu: Use QTAILQ for CPU list").

---
  include/hw/core/cpu.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/core/cpu.h +0 -0
index 134ecb907e..3208b938f7 100644

include/hw/core/cpu.h struct qemu_work_item; · line 436

Quoted 8 lines
include/hw/core/cpu.h +1 -1
@@ -430,7 +430,7 @@ struct qemu_work_item;
   * @gdb_regs: Additional GDB registers.
   * @gdb_num_regs: Number of total registers accessible to GDB.
   * @gdb_num_g_regs: Number of registers in GDB 'g' packets.
- * @next_cpu: Next CPU sharing TB cache.
+ * @node: QTAILQ of CPUs sharing TB cache.
   * @opaque: User data.
   * @mem_io_pc: Host Program Counter at which the memory was accessed.
   * @accel: Pointer to accelerator specific state.

r~