commit | 35fc1f71899fd42323bd8f33da18f0211e0d2727 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Apr 03 19:50:26 2014 +0300 |
committer | Juan Quintela <quintela@redhat.com> | Mon May 05 14:15:10 2014 +0200 |
tree | bb64b0404ceb56b485a52dcdc15d2b9f79c05272 | |
parent | fdaad4715ae9e998fd0595bedfb16fdaf0c68ccc [diff] |
vmstate: reduce code duplication move size offset and number of elements math out to functions, to reduce code duplication. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>