History | View | Annotate | Download (15.5 kB)
Fix vmstate_info_int32_le comparison/assign
Fix comparison of vmstate_info_int32_le so that it succeeds if loadedvalue is (l)ess than or (e)qual
When the comparison succeeds, assign the value loaded This is a change in behaviour but I think the original intent, since...
vmstate: Move VMState code to vmstate.c
This will allow unit tests to be written for VMState code withoutpulling dependencies from the savevm code.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>Reviewed-by: Orit Wasserman <owasserm@redhat.com>Signed-off-by: Juan Quintela <quintela@redhat.com>