Statistics
| Branch: | Revision:

root / vmstate.h @ c28fa5a0

History | View | Annotate | Download (30.2 kB)

# Date Author Comment
08e99e29 10/30/2012 09:45 am Peter Maydell

vmstate: Add support for saving/loading bitmaps

Add support for saving/loading bitmap.h bitmaps in vmstate.

Signed-off-by: Peter Maydell <>
Tested-by: Igor Mitsyanko <>
Reviewed-by: Juan Quintela <>

0281518a 09/10/2012 09:52 pm Paolo Bonzini

vmstate: add VMSTATE_TIMER_V

Also, for consistency with other occurrences, implement VMSTATE_TIMER
as a special case of VMSTATE_TIMER_V rather than VMSTATE_TIMER_TEST.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

22ea40f4 07/20/2012 09:19 am Juan Quintela

savevm: Use a struct to pass all handlers

This would make easier to add more operations in the next patches.

Signed-off-by: Juan Quintela <>

7908c78d 07/20/2012 09:19 am Juan Quintela

savevm: Live migration handlers register the struct directly

Notice that the live migration users never unregister, so no problem
about freeing the ops structure.

Signed-off-by: Juan Quintela <>

86253685 07/20/2012 09:19 am Juan Quintela

savevm: remove SaveSetParamsHandler

It was used only once, just unfold.

Signed-off-by: Juan Quintela <>

226aa6a9 07/20/2012 09:19 am Juan Quintela

savevm: remove SaveLiveStateHandler

It was used only once, just unfold.

Signed-off-by: Juan Quintela <>

9b5bfab0 07/20/2012 09:19 am Juan Quintela

savevm: Refactor cancel operation in its own operation

Intead of abusing stage with value -1.

Signed-off-by: Juan Quintela <>

6bd68781 07/20/2012 09:19 am Juan Quintela

savevm: introduce is_active method

Enable the creation of a method to tell migration if that section is
active and should be migrate. We use it for blk-migration, that is
normally not active. We don't create the method for RAM, as setups
without RAM are very strange O:-)...

d1315aac 07/20/2012 09:19 am Juan Quintela

savevm: split save_live_setup from save_live_state

This patch splits stage 1 to its own function for both save_live
users, ram and block. It is just a copy of the function, removing the
parts of the other stages. Optimizations would came later.

Signed-off-by: Juan Quintela <>

16310a3c 07/20/2012 09:19 am Juan Quintela

savevm: split save_live into stage2 and stage3

We split it into 2 functions, foo_live_iterate, and foo_live_complete.
At this point, we only remove the bits that are for the other stage,
functionally this is equivalent to previous code.

Signed-off-by: Juan Quintela <>

6607ae23 06/29/2012 02:18 pm Isaku Yamahata

Add MigrationParams structure

Signed-off-by: Isaku Yamahata <>

539de124 03/15/2012 03:39 pm Luiz Capitulino

Purge migration of (almost) everything to do with monitors

The Monitor object is passed back and forth within the migration/savevm
code so that it can print errors and progress to the user.

However, that approach assumes a HMP monitor, being completely invalid...

701a8f76 01/13/2012 06:20 pm Paolo Bonzini

vmstate: extract declarations out of hw/hw.h

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>