From bdd09778a0649639130aff21a361732a715a0a4f Mon Sep 17 00:00:00 2001 From: Paulo Vital Date: Tue, 10 Mar 2015 12:25:51 +0100 Subject: [PATCH] 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 Reviewed-by: Igor Mammedov Signed-off-by: Michael Tokarev --- 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 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; } -- 2.39.2