vmstate: port twl92230 device
commitf0495f56c9f4574140c392bdbad42721ba692d19
authorJuan Quintela <quintela@redhat.com>
Tue, 29 Sep 2009 20:48:40 +0000 (29 22:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:39 +0000 (5 09:32 -0500)
treeeea2e0e325ee07e1e94364d7f9a233baefcb1cb2
parentb53d44e5132495d40416be5e241cf5dbd349331e
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