From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX09b-0007Cv-FT for qemu-devel@nongnu.org; Sun, 06 Apr 2014 23:23:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WX09V-0008UP-7V for qemu-devel@nongnu.org; Sun, 06 Apr 2014 23:23:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX09U-0008Tq-MX for qemu-devel@nongnu.org; Sun, 06 Apr 2014 23:23:16 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s373NGPp005978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 6 Apr 2014 23:23:16 -0400 From: Juan Quintela Date: Mon, 7 Apr 2014 05:21:14 +0200 Message-Id: <1396840915-10384-57-git-send-email-quintela@redhat.com> In-Reply-To: <1396840915-10384-1-git-send-email-quintela@redhat.com> References: <1396840915-10384-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 56/97] vmstate: Remove version_id fields that were not used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- include/migration/vmstate.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 553c909..95d0a9a 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -342,7 +342,6 @@ extern const VMStateInfo vmstate_info_bitmap; #define VMSTATE_STRUCT_VARRAY_POINTER_INT32(_field, _state, _field_num, _vmsd, _type) { \ .name = (stringify(_field)), \ - .version_id = 0, \ .num_offset = vmstate_offset_value(_state, _field_num, int32_t), \ .size = sizeof(_type), \ .vmsd = &(_vmsd), \ @@ -352,7 +351,6 @@ extern const VMStateInfo vmstate_info_bitmap; #define VMSTATE_STRUCT_VARRAY_POINTER_UINT32(_field, _state, _field_num, _vmsd, _type) { \ .name = (stringify(_field)), \ - .version_id = 0, \ .num_offset = vmstate_offset_value(_state, _field_num, uint32_t),\ .size = sizeof(_type), \ .vmsd = &(_vmsd), \ @@ -362,7 +360,6 @@ extern const VMStateInfo vmstate_info_bitmap; #define VMSTATE_STRUCT_VARRAY_POINTER_UINT16(_field, _state, _field_num, _vmsd, _type) { \ .name = (stringify(_field)), \ - .version_id = 0, \ .num_offset = vmstate_offset_value(_state, _field_num, uint16_t),\ .size = sizeof(_type), \ .vmsd = &(_vmsd), \ @@ -464,7 +461,6 @@ extern const VMStateInfo vmstate_info_bitmap; */ #define VMSTATE_BITMAP(_field, _state, _field_size) { \ .name = (stringify(_field)), \ - .version_id = 0, \ .size_offset = vmstate_offset_value(_state, _field_size, int32_t),\ .info = &vmstate_info_bitmap, \ .flags = VMS_VBUFFER|VMS_POINTER, \ -- 1.9.0