Skip to contentSkip to conversation

machine: Provide a description for aux-ram-share property

PATCH Applied Peter Xu 3 participants 3 messages Nov 24, 2025 – Nov 25, 2025

lore
Share & tools
lore

Peter Xu

author
#0 lore raw

PATCH 1/1 machine: Provide a description for aux-ram-share property

It was forgotten when being introduced in commit 91792807d1 ("machine:
aux-ram-share option").

---
v2:
- Fix spelling, s/auxilliary/auxiliary/ [Fabiano]

---
 hw/core/machine.c | 2 ++
 1 file changed, 2 insertions(+)
hw/core/machine.c +2 -0
index 06e0c9a179..27372bb01e 100644
@@ -1204,6 +1204,8 @@ static void machine_class_init(ObjectClass *oc, const void *data)
     object_class_property_add_bool(oc, "aux-ram-share",
                                    machine_get_aux_ram_share,
                                    machine_set_aux_ram_share);
+    object_class_property_set_description(oc, "aux-ram-share",
+        "Use anonymous shared memory for auxiliary guest RAMs");
 #endif
 
     object_class_property_add_bool(oc, "usb",
Signature · 1 line
2.50.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Peter Xu

It was forgotten when being introduced in commit 91792807d1 ("machine:
aux-ram-share option").

---
v2:
- Fix spelling, s/auxilliary/auxiliary/ [Fabiano]

---
 hw/core/machine.c | 2 ++
 1 file changed, 2 insertions(+)
hw/core/machine.c +0 -0
index 06e0c9a179..27372bb01e 100644

hw/core/machine.c static void machine_class_init(ObjectClass *oc, const void *data) · line 1211

Quoted 8 lines
hw/core/machine.c +2 -0
@@ -1204,6 +1204,8 @@ static void machine_class_init(ObjectClass *oc, const void *data)
     object_class_property_add_bool(oc, "aux-ram-share",
                                    machine_get_aux_ram_share,
                                    machine_set_aux_ram_share);
+    object_class_property_set_description(oc, "aux-ram-share",
+        "Use anonymous shared memory for auxiliary guest RAMs");
 #endif
 
     object_class_property_add_bool(oc, "usb",