Received: from eggs.gnu.org ([2001:4830:134:3::10]:43792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVHzj-0003Ea-Nu for qemu-devel@nongnu.org; Tue, 10 Mar 2015 07:06:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVHzf-0005E7-Pw for qemu-devel@nongnu.org; Tue, 10 Mar 2015 07:06:39 -0400 Date: Tue, 10 Mar 2015 12:06:29 +0100 From: Igor Mammedov Message-ID: <20150310120629.0db9d481@nial.brq.redhat.com> In-Reply-To: <1425984177-10608-1-git-send-email-paulo.vital@profitbricks.com> References: <1425984177-10608-1-git-send-email-paulo.vital@profitbricks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] pc-dimm: Add description for device list. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paulo Vital Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On Tue, 10 Mar 2015 11:42:57 +0100 Paulo Vital wrote: > 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 > --- > 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..d3f7b5b 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 device for Memory Hotplug"; it's not necessarily only for hotplug, I'd suggest: "DIMM memory module" > > ddc->get_memory_region = pc_dimm_get_memory_region; > }