From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiH1h-0002yr-0W for qemu-devel@nongnu.org; Mon, 31 Aug 2009 20:15:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiH1c-0002y1-MK for qemu-devel@nongnu.org; Mon, 31 Aug 2009 20:15:08 -0400 Received: from [199.232.76.173] (port=52339 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiH1c-0002xy-Fp for qemu-devel@nongnu.org; Mon, 31 Aug 2009 20:15:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiH1c-0005hq-3O for qemu-devel@nongnu.org; Mon, 31 Aug 2009 20:15:04 -0400 From: Juan Quintela Date: Tue, 1 Sep 2009 02:12:30 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/3] Bring savevm.c to the wonderful world of sys-queue.h List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com Hi V2: - Initialize loadvm_handlers with LIST_HEAD_INITIALIZER. Reported by Luiz Capitulino. v1: - replace first_se by a TAILQ (savevm_handlers) - replace first_le by a LIST (loadvm_handlers) - add LIST_FOREACH_SAFe that didn't exist before Later, Juan. Juan Quintela (3): savevm: Convert savevm handlers list to TAILQ Add LIST_FOREACH_SAFE() definition savevm: Convert loadvm handlers list to LIST savevm.c | 115 +++++++++++++++++++++++++++------------------------------- sys-queue.h | 5 +++ 2 files changed, 59 insertions(+), 61 deletions(-)