Statistics
| Branch: | Revision:

root / hw / hw.h @ 72cf2d4f

History | View | Annotate | Download (19.6 kB)

# Date Author Comment
7e72abc3 09/11/2009 07:10 pm Juan Quintela

vmstate: port cirrus_vga device

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

80a04bbe 09/11/2009 07:10 pm Juan Quintela

vmstate: add uint64 array support

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

80cd83e7 09/11/2009 07:10 pm Juan Quintela

vmstate: add support for uint8_t equal

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

632cf073 09/11/2009 07:10 pm Juan Quintela

vmstate: add support for arrays of uint16_t

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1eb7538b 09/11/2009 07:10 pm Juan Quintela

vmstate: add sensible arguments to vmstate_unregister()

vmsd alone is not enugh, because we can have several structs saved with the same description (vmsd).

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

752ff2fa 09/11/2009 07:10 pm Juan Quintela

vmstate: rename run_after_load() -> post_load()

This naming was used in kvm tree, and is easier to remember

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

fd4d52de 09/11/2009 07:10 pm Juan Quintela

vmstate: Add pre_load() hook

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

8fb0791d 09/11/2009 07:10 pm Juan Quintela

vmstate: Add pre/post_save() hooks

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

13f5545d 09/10/2009 02:20 am Juan Quintela

Fix VMSTATE_PCI_DEVICE version

PCI device entries have to have a default version, not 2, because they are
used in the midle of other structures that can have any version number.

We can't use proper versioning here until we have SubSections support.
Why we didn't noticed before? Because in a PC, the only device ported with...

55a6e51f 08/31/2009 10:30 pm Blue Swirl

Add VMState support for ptimers

Signed-off-by: Blue Swirl <>

b00319a9 08/28/2009 04:30 am Juan Quintela

Add VMState support for variable sized arrays

This patch add supports for variable sized arrays whose size is
another field of the state.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

6f67c50f 08/28/2009 04:30 am Juan Quintela

Add VMState support for static sized buffers (uint_8)

This patch adds support for static sized buffer and typecheks that the buffer is right.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

0a031e0a 08/28/2009 04:30 am Juan Quintela

Add VMState support for int32_t check value

We read the saved value and check that it is less or equal than the one
stored in the structure.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

73534f2f 08/28/2009 04:30 am Juan Quintela

Port PCIDevice state to VMState

This uses a variant of buffer, with extra checks. Also uses the new
support for cheking that a read value is less or equal than a field.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

cff09e92 08/28/2009 04:30 am Juan Quintela

Add VMState support to run a function after load

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9ed7d6ae 08/28/2009 04:30 am Juan Quintela

New VMstate save/load infrastructure

This patch introduces VMState infrastructure, to convert the save/load
functions of devices to a table approach. This new approach has the
following advantages:
- it is type-safe
- you can't have load/save functions out of sync...

dde0463b 08/28/2009 04:30 am Juan Quintela

Add VMState support for pointers

This patch adds support for saving pointers to values

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

f752a6aa 08/28/2009 04:30 am Juan Quintela

Add VMState support for arrays

This patch adds support for saving arrays inside the struct

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ec245e21 08/28/2009 04:30 am Juan Quintela

Add VMState support for structs

This patch adds support for saving one VMStateDescription from other
VMStateDescription.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

79c451b9 08/28/2009 04:30 am Juan Quintela

Add VMState support for arrays of structs

This patch add supports for arrays of structs

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

82501660 08/28/2009 04:30 am Juan Quintela

Add VMState support for int32_t check value

We read the saved value and check that it is the same that the one
is stored in the structure.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

5ac1fad3 08/28/2009 03:33 am Paolo Bonzini

add file descriptor migration

Signed-off-by: Paolo Bonzini <>
Cc: Chris Lalancette <>
Signed-off-by: Anthony Liguori <>

7f79dd28 08/24/2009 04:02 pm Paolo Bonzini

unify popen/fopen qemu wrappers

While reading Chris's code for fd migration I noticed the duplication
between QEMUFilePopen and QEMUFileStdio. This fixes it, and makes
qemu_fopen more similar qemu_popen.

Signed-off-by: Paolo Bonzini <>...

76e30d0f 07/16/2009 04:28 pm Jan Kiszka

Move boot_set callback backend

Move registration function for the boot_set callback handler and provide
qemu_boot_set so that it can also be used outside the monitor code.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

dda9b29f 07/16/2009 04:28 pm Jan Kiszka

Add qemu_unregister_reset

Will be used by '-boot once=...', and should also help in other use
cases.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

32993977 07/10/2009 12:06 am Isaku Yamahata

split out ioport related stuffs from vl.c into ioport.c.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

a08d4367 06/29/2009 10:18 pm Jan Kiszka

Revert "Introduce reset notifier order"

This reverts commit 8217606e6edb49591b4a6fd5a0d1229cebe470a9 (and
updates later added users of qemu_register_reset), we solved the
problem it originally addressed less invasively.

Signed-off-by: Jan Kiszka <>...

8a43b1ea 05/27/2009 05:46 pm Chris Lalancette

Allow monitor interaction when using migrate -exec

All,
I've recently been playing around with migration via exec. Unfortunately,
when starting the incoming qemu process with "-incoming exec:cmd", it suffers
the same problem that -incoming tcp used to suffer; namely, that you can't...

8217606e 05/22/2009 06:50 pm Jan Kiszka

Introduce reset notifier order

Add the parameter 'order' to qemu_register_reset and sort callbacks on
registration. On system reset, callbacks with lower order will be
invoked before those with higher order. Update all existing users to the
standard order 0....

19629537 05/22/2009 06:50 pm Glauber Costa

introduce set_rate_limit function for QEMUFile

This patch converts the current callers of qemu_fopen_ops().

Signed-off-by: Glauber Costa <>
Signed-off-by: Anthony Liguori <>

1ad2134f 05/19/2009 06:17 pm Paul Brook

Hardware convenience library

The only target dependency for most hardware is sizeof(target_phys_addr_t).
Build these files into a convenience library, and use that instead of
building for every target.

Remove and poison various target specific macros to avoid bogus target...

41bd13af 04/17/2009 08:10 pm aliguori

Add unregister_savevm() (Mark McLoughlin)

Currently there's no way to unregister a savevm callback, so
e.g. if a NIC is hot-unplugged and a savevm is issued, we'll
segfault.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>...

4dabe248 04/05/2009 10:30 pm aliguori

create qemu_file_set_error (Glauber Costa)

This is mainly for consistency, since we don't want
anything outside of savevm setting it explicitly. There
are current no users of that in qemu tree, but there
are potential candidates on kvm-userspace. And avi...

065e2813 11/11/2008 06:46 pm aliguori

Reintroduce migrate-to-exec: support (Charles Duffy)

KVM's live migration support included support for exec: URLs, allowing system
state to be written or received via an arbitrary popen()ed subprocess. This
provides a convenient way to pipe state through a compression algorithm or an...

c1d36665 10/25/2008 12:55 am aliguori

Live migration for Win32 (Hervé Poussineau)

This patch fixes migration so that it works on Win32. This requires using
socket specific calls since sockets cannot be treated like file descriptors
on win32.

Signed-off-by: Hervé Poussineau <>...

871d2f07 10/13/2008 06:07 am aliguori

Fix some issues with QEMUFile

This patch allows QEMUFile's read and write operations to return
negative error codes. This is necessary to detect things like closed
streams during live migration.

It also removes unused code for QEMUFileFD write path. Finally, it...

9366f418 10/06/2008 05:53 pm aliguori

Introduce v3 of savevm protocol

The current savevm/loadvm protocol has some draw backs. It does not support
the ability to do progressive saving which means it cannot be used for live
checkpointing or migration. The sections sizes are 32-bit integers which...

b6c4f71f 10/02/2008 10:14 pm blueswir1

Resurrect the safe part of r5274

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5401 c046a42c-6fe2-441c-8c8c-71466251a162

5dafc53f 09/29/2008 07:25 pm aliguori

Refactor QEMUFile for live migration

To support live migration, we override QEMUFile so that instead of writing to
disk, the save/restore state happens over a network connection.

This patch makes QEMUFile read/write operations function pointers so that we...

2ca83a8d 09/25/2008 11:24 pm blueswir1

Revert r5274 which breaks savevm/loadvm

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5321 c046a42c-6fe2-441c-8c8c-71466251a162

67d8cec3 09/20/2008 11:04 am blueswir1

Add signed versions of save/load functions

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5274 c046a42c-6fe2-441c-8c8c-71466251a162

3b4366de 06/20/2008 07:25 pm blueswir1

Add an opaque parameter to boot_set API, move function to monitor.c

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4763 c046a42c-6fe2-441c-8c8c-71466251a162

0ecdffbb 05/04/2008 11:11 pm aurel32

Allow bootdevice change from the monitor

(Gildas Le Nadan)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4333 c046a42c-6fe2-441c-8c8c-71466251a162

87ecb68b 11/17/2007 07:14 pm pbrook

Break up vl.h.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162