diff options
author | Juan Quintela <quintela@redhat.com> | 2009-12-02 12:36:46 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 10:05:58 -0600 |
commit | be73cfe2be9a41de4f97e4847b3f12a7d6d61159 (patch) | |
tree | 83419da906307e90aea6146c88f405aeeb32cf7d /hw/twl92230.c | |
parent | 70cca6d87261f3ab330e2be34fbe9596b13342ae (diff) |
savevm: Port to qdev.vmsd all devices that have qdev
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/twl92230.c')
-rw-r--r-- | hw/twl92230.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/twl92230.c b/hw/twl92230.c index 93232da2d5..b1b2ac9ce5 100644 --- a/hw/twl92230.c +++ b/hw/twl92230.c @@ -855,13 +855,13 @@ static int twl92230_init(i2c_slave *i2c) menelaus_reset(&s->i2c); - vmstate_register(-1, &vmstate_menelaus, s); return 0; } static I2CSlaveInfo twl92230_info = { .qdev.name ="twl92230", .qdev.size = sizeof(MenelausState), + .qdev.vmsd = &vmstate_menelaus, .init = twl92230_init, .event = menelaus_event, .recv = menelaus_rx, |