#
25dc563b |
| 07-Oct-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: add VMSTATE_BUFFER_TEST
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
f11f6a5f |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: Add suppot for field_exist() test
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
f89a8e4e |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
Add *TL functions to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
19df438b |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: add support for arrays of pointers
We need this to send arrays of timers
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
289070c7 |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: create VMSTATE_INT16_ARRAY
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
840e9cef |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: create VMSTATE_STRUCT_POINTER
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
1894839f |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: create VMSTATE_I2C_SLAVE
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
b6bd0bdc |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: add uint8 array
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
6680f01c |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: Add support for sending partial arrays
This one is needed for changees happening on fdc. It allows you to send arrays of structs whose size we want to send it is another field with type ui
vmstate: Add support for sending partial arrays
This one is needed for changees happening on fdc. It allows you to send arrays of structs whose size we want to send it is another field with type uint8_t. (If you have been able to read the whole sentence without stoping for breathing, you can use it.
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
d4bfa4d7 |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: remove const from pre_save() functions
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
e59fb374 |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: add version_id argument to post_load
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
84e2e3eb |
| 29-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: remove const for put operations
In a later patch, we introduce pre_save() and post_save() functions. The whole point of that operation is to change things in the state. Without this patch,
vmstate: remove const for put operations
In a later patch, we introduce pre_save() and post_save() functions. The whole point of that operation is to change things in the state. Without this patch, we have to remove the const qualifier in each use with a cast
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
7e72abc3 |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: port cirrus_vga device
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
80a04bbe |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: add uint64 array support
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
632cf073 |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: add support for arrays of uint16_t
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
80cd83e7 |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: add support for uint8_t equal
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
8fb0791d |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: Add pre/post_save() hooks
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
fd4d52de |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: Add pre_load() hook
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
752ff2fa |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: rename run_after_load() -> post_load()
This naming was used in kvm tree, and is easier to remember
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguo
vmstate: rename run_after_load() -> post_load()
This naming was used in kvm tree, and is easier to remember
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
1eb7538b |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
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 <quintela@r
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 <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
13f5545d |
| 09-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
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 prop
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 a version less that 2 is piix_pm, and for that one, default pci values are right. If you use a virtio-console, you will see that its state it is not loaded back.
Thanks to Amit Shah for reporting the problem and help debug the fix.
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
55a6e51f |
| 31-Aug-2009 |
Blue Swirl <blauwirbel@gmail.com> |
Add VMState support for ptimers
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
cff09e92 |
| 20-Aug-2009 |
Juan Quintela <quintela@redhat.com> |
Add VMState support to run a function after load
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
73534f2f |
| 20-Aug-2009 |
Juan Quintela <quintela@redhat.com> |
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
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 <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
0a031e0a |
| 20-Aug-2009 |
Juan Quintela <quintela@redhat.com> |
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 <quintela@redhat.com> Signe
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 <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|