* [Qemu-devel] [PATCH V2] pc-dimm: Add description for device list.
@ 2015-03-10 11:25 Paulo Vital
2015-03-19 8:13 ` Michael Tokarev
0 siblings, 1 reply; 2+ messages in thread
From: Paulo Vital @ 2015-03-10 11:25 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, imammedo, Paulo Vital
The pc-dimm option presented on device list (by argument "-device \?")
is the unique option that don't have any information about it. This
patch adds a description for the pc-dimm device to help users to
identify it.
Signed-off-by: Paulo Vital <paulo.vital@profitbricks.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
---
hw/mem/pc-dimm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/mem/pc-dimm.c b/hw/mem/pc-dimm.c
index de81b9c..39f0c97 100644
--- a/hw/mem/pc-dimm.c
+++ b/hw/mem/pc-dimm.c
@@ -351,6 +351,7 @@ static void pc_dimm_class_init(ObjectClass *oc, void *data)
dc->realize = pc_dimm_realize;
dc->props = pc_dimm_properties;
+ dc->desc = "DIMM memory module";
ddc->get_memory_region = pc_dimm_get_memory_region;
}
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH V2] pc-dimm: Add description for device list.
2015-03-10 11:25 [Qemu-devel] [PATCH V2] pc-dimm: Add description for device list Paulo Vital
@ 2015-03-19 8:13 ` Michael Tokarev
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tokarev @ 2015-03-19 8:13 UTC (permalink / raw)
To: Paulo Vital, qemu-devel; +Cc: qemu-trivial, imammedo
Applied to -trivial, thanks!
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-19 8:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-10 11:25 [Qemu-devel] [PATCH V2] pc-dimm: Add description for device list Paulo Vital
2015-03-19 8:13 ` Michael Tokarev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.