From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8bhH-0003oi-88 for qemu-devel@nongnu.org; Thu, 12 Nov 2009 10:34:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8bhC-0003lp-B5 for qemu-devel@nongnu.org; Thu, 12 Nov 2009 10:34:54 -0500 Received: from [199.232.76.173] (port=35844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8bhC-0003lf-1x for qemu-devel@nongnu.org; Thu, 12 Nov 2009 10:34:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61072) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8bhB-0005Kc-Gt for qemu-devel@nongnu.org; Thu, 12 Nov 2009 10:34:49 -0500 Message-ID: <4AFC2AD5.3060606@redhat.com> Date: Thu, 12 Nov 2009 16:33:41 +0100 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 02/11] Add operations to qlist to allow it to be used as a stack References: <1257960543-26373-1-git-send-email-aliguori@us.ibm.com> <1257960543-26373-2-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1257960543-26373-2-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Luiz Capitulino Am 11.11.2009 18:28, schrieb Anthony Liguori: > This makes lists no longer invariant. It's a very useful bit of functionality > though. > > To deal with the fact that lists are no longer invariant, introduce a deep > copy mechanism for lists. > > Signed-off-by: Anthony Liguori > --- > qlist.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > qlist.h | 4 ++++ > 2 files changed, 60 insertions(+), 0 deletions(-) So far all functions in qlist.c have a header comment. Any reason to change this? Kevin