vmstate: port twl92230 device
authorJuan Quintela <quintela@redhat.com>
Tue, 29 Sep 2009 20:48:40 +0000 (22:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:39 +0000 (09:32 -0500)
commit2cf795b61593284060eba5714bbfb8732efb86d7
treeeea2e0e325ee07e1e94364d7f9a233baefcb1cb2
parent7145634836eefc8eb058b8ab76448e7b2d873513
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_uint16
type.  Don't ever think about copying it

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/twl92230.c