aboutsummaryrefslogtreecommitdiff
path: root/hw/mem/pc-dimm.c
diff options
context:
space:
mode:
authorPaulo Vital <paulo.vital@profitbricks.com>2015-03-10 12:25:51 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2015-03-19 11:17:36 +0300
commitbdd09778a0649639130aff21a361732a715a0a4f (patch)
tree8534ff1dcc3efcc1da8d6aaac5ed661eb2cf6e1d /hw/mem/pc-dimm.c
parent18b8263e4ee72697876b081a7520d4ec86b2aab1 (diff)
pc-dimm: Add description for device list.
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> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/mem/pc-dimm.c')
-rw-r--r--hw/mem/pc-dimm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/mem/pc-dimm.c b/hw/mem/pc-dimm.c
index de81b9ceab..39f0c97c0c 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;
}