Statistics
| Branch: | Revision:

root / include / migration @ feature-archipelago

Name Size
block.h 504 Bytes
migration.h 5.1 kB
page_cache.h 2 kB
qemu-file.h 7.7 kB
vmstate.h 36 kB

Latest revisions

# Date Author Comment
6d3cb1f9 02/25/2014 03:30 pm Dr. David Alan Gilbert

Fix two XBZRLE corruption issues

Push zero'd pages into the XBZRLE cache
A page that was cached by XBZRLE, zero'd and then XBZRLE'd again
was being compared against a stale cache value

Don't use 'qemu_put_buffer_async' to put pages from the XBZRLE cache...

a1b1d277 02/08/2014 04:50 pm Christoffer Dall

vmstate: Add uint32 2D-array support

Add support for saving VMState of 2D arrays of uint32 values.

Reviewed-by: Peter Maydell <>
Signed-off-by: Christoffer Dall <>
Signed-off-by: Peter Maydell <>

89db9987 02/04/2014 05:50 pm Orit Wasserman

Don't abort on memory allocation error

It is better to fail migration in case of failure to
allocate new cache item

Signed-off-by: Orit Wasserman <>
Reviewed-by: Dr. David Alan Gilbert <>
Signed-off-by: Juan Quintela <>

905f26f2 02/04/2014 05:49 pm Gonglei (Arei)

migration:fix free XBZRLE decoded_buf wrong

When qemu do live migration with xbzrle, qemu malloc decoded_buf
at destination end but free it at source end. It will crash qemu
by double free error in some scenarios. Splitting the XBZRLE structure
for clear logic distinguishing src/dst side....

20bcf73f 02/04/2014 04:51 pm Peter Maydell

vmstate: Make VMSTATE_STRUCT_POINTER take type, not ptr-to-type

The VMSTATE_STRUCT_POINTER macros are a bit odd in that they
must be passed an argument "FooType *" rather than just taking
the FooType. They're only used in one place, so it's easy to
tidy this up. This also lets us use the macro to replace the...

c961514f 01/13/2014 01:39 pm Eduardo Habkost

qemu-file: Make a few functions non-static

The QEMUFile code will be moved to qemu-file.c. This will require making
the following functions non-static because they are used by the savevm.c
code:

  • qemu_peek_byte()
  • qemu_peek_buffer()
  • qemu_file_skip()...
b5503338 01/13/2014 01:39 pm Eduardo Habkost

migration: Move QEMU_VM_* defines to migration/migration.h

The VMState code will be moved to vmstate.c and it uses some of the
QEMU_VM_* constants, so move it to a header.

Signed-off-by: Eduardo Habkost <>
Reviewed-by: Orit Wasserman <>...

a1f05e79 12/17/2013 10:12 pm Peter Maydell

vmstate: Add support for an array of ptimer_state *

Add support for defining a vmstate field which is an array
of pointers to structures, and use this to define a
VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state*
to be used by devices.

Signed-off-by: Peter Maydell <>...

7102400d 09/24/2013 02:22 pm Alexey Kardashevskiy

migration: add version supporting macros for struct pointer

This adds version supporting macros VMSTATE_STRUCT_POINTER_TEST_V
and VMSTATE_STRUCT_POINTER_V in addition to the already existing
VMSTATE_STRUCT_POINTER and VMSTATE_STRUCT_POINTER_TEST macros.
...

02edd2e7 07/29/2013 06:19 pm Stefan Hajnoczi

migration: fix spice migration

Commit 29ae8a4133082e16970c9d4be09f4b6a15034617 ("rdma: introduce
MIG_STATE_NONE and change MIG_STATE_SETUP state transition") changed the
state transitions during migration setup.

Spice used to be notified with MIG_STATE_ACTIVE and it detected this...

View revisions

Also available in: Atom