Re: [Qemu-devel] [PATCH v4 01/30] vmstate: reduce code duplication

2014-03-31 Thread Michael S. Tsirkin
On Mon, Mar 31, 2014 at 04:01:34PM +0100, Dr. David Alan Gilbert wrote: > * Michael S. Tsirkin (m...@redhat.com) wrote: > > move size offset and number of elements math out > > to functions, to reduce code duplication. > > > > Signed-off-by: Michael S. Tsirkin > > --- > > vmstate.c | 97 > > +++

Re: [Qemu-devel] [PATCH v4 01/30] vmstate: reduce code duplication

2014-03-31 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: > move size offset and number of elements math out > to functions, to reduce code duplication. > > Signed-off-by: Michael S. Tsirkin > --- > vmstate.c | 97 > ++- > 1 file changed, 52 inser

[Qemu-devel] [PATCH v4 01/30] vmstate: reduce code duplication

2014-03-31 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 --- vmstate.c | 97 ++- 1 file changed, 52 insertions(+), 45 deletions(-) diff --git a/vmstate.c b/vmstate.c i