qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 04/26] hw/boards: Add aux flag to CPUArchId


From: Dov Murik
Subject: [RFC PATCH 04/26] hw/boards: Add aux flag to CPUArchId
Date: Tue, 2 Mar 2021 15:48:00 -0500

The aux flag indicates whether a vcpu is auxiliary.

Signed-off-by: Dov Murik <dovmurik@linux.vnet.ibm.com>
---
 include/hw/boards.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/hw/boards.h b/include/hw/boards.h
index 7ee5c73510..4458b359c3 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -51,6 +51,7 @@ MemoryRegion *machine_consume_memdev(MachineState *machine,
  * @type - QOM class name of possible @cpu object
  * @props - CPU object properties, initialized by board
  * #vcpus_count - number of threads provided by @cpu object
+ * @aux - is this CPU auxiliary
  */
 typedef struct CPUArchId {
     uint64_t arch_id;
@@ -58,6 +59,7 @@ typedef struct CPUArchId {
     CpuInstanceProperties props;
     Object *cpu;
     const char *type;
+    bool aux;
 } CPUArchId;
 
 /**
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]