Re: [Qemu-devel] [PATCH v5 01/24] vmstate: reduce code duplication

2014-04-04 Thread Juan Quintela
"Michael S. Tsirkin" wrote: > move size offset and number of elements math out > to functions, to reduce code duplication. > > Signed-off-by: Michael S. Tsirkin > Cc: "Dr. David Alan Gilbert" Reviewed-by: Juan Quintela Added to migration branch for 2.1

[Qemu-devel] [PATCH v5 01/24] vmstate: reduce code duplication

2014-04-03 Thread Michael S. Tsirkin
move size offset and number of elements math out to functions, to reduce code duplication. Signed-off-by: Michael S. Tsirkin Cc: "Dr. David Alan Gilbert" --- vmstate.c | 100 -- 1 file changed, 52 insertions(+), 48 deletions(-) diff -