Add *TL functions to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vmstate: port twl92230 device
Just don't look. struct tm members are ints' and they are sent as uint16_t.VMState code complains as it should. Have to create hacky int32_as_uint16type. Don't ever think about copying it
Signed-off-by: Juan Quintela <quintela@redhat.com>...
vmstate: add support for arrays of pointers
We need this to send arrays of timers
lm832x: make fields to have the same types that they are saved/loaded
They were saved as uint8_t already. To make things simpler, I justreg == -1 used to indicate an error, I create LM832x_GENERAL_ERRORwith vale 0xff to represet it
vmstate: port lm832x device
vmstate: remove i2c_slave_load/save
All its users moved to vmstate
vmstate: create VMSTATE_INT16_ARRAY
tmp105: change len and alorm to uint8_t
They were using only with very small integers, and they are sent/read asbytes. They can't become negative as far as I can see
vmstate: port tmp105 device
twl92230: change pwrbtn_state to uint8_t
its value is always the level of an interrupt, 0 or 1
View revisions
Also available in: Atom