savevm: Fix bugs in the VMSTATE_VBUFFER_MULTIPLY definition
commit377e2cb96b76c2b0023c1acc7230bf3a9e9f9f40
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2013 03:06:04 +0000 (12 14:06 +1100)
committerJuan Quintela <quintela@redhat.com>
Tue, 26 Mar 2013 12:30:49 +0000 (26 13:30 +0100)
tree98028614ad99016f2f44dc92d22d41d3e90277ad
parent8474a9dd6757be064bf4b35f422b4640d1cca0a5
savevm: Fix bugs in the VMSTATE_VBUFFER_MULTIPLY definition

The VMSTATE_BUFFER_MULTIPLY macro is misnamed - it actually specifies
a variably sized buffer with VMS_VBUFFER, so should be named
VMSTATE_VBUFFER_MULTIPLY.  This patch fixes this (the macro had no current
users under either name).

In addition, unlike the other VMSTATE_VBUFFER variants, this macro did not
specify VMS_POINTER.  This patch fixes this bug as well.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/vmstate.h