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>
This commit is contained in:
parent
18b8263e4e
commit
bdd09778a0
@ -351,6 +351,7 @@ static void pc_dimm_class_init(ObjectClass *oc, void *data)
|
|||||||
|
|
||||||
dc->realize = pc_dimm_realize;
|
dc->realize = pc_dimm_realize;
|
||||||
dc->props = pc_dimm_properties;
|
dc->props = pc_dimm_properties;
|
||||||
|
dc->desc = "DIMM memory module";
|
||||||
|
|
||||||
ddc->get_memory_region = pc_dimm_get_memory_region;
|
ddc->get_memory_region = pc_dimm_get_memory_region;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user