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 | 9fdbff01436d5c43de9520e744cb50ae08182548 (patch) | |
tree | 83419da906307e90aea6146c88f405aeeb32cf7d /hw/tmp105.c | |
parent | e580b5bfdd37374368717020a43f7ab8f4c49065 (diff) | |
download | qemu-9fdbff01436d5c43de9520e744cb50ae08182548.tar.gz qemu-9fdbff01436d5c43de9520e744cb50ae08182548.tar.bz2 qemu-9fdbff01436d5c43de9520e744cb50ae08182548.zip |
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/tmp105.c')
-rw-r--r-- | hw/tmp105.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tmp105.c b/hw/tmp105.c index 74141b3789..8343afff8f 100644 --- a/hw/tmp105.c +++ b/hw/tmp105.c @@ -228,13 +228,13 @@ static int tmp105_init(i2c_slave *i2c) tmp105_reset(&s->i2c); - vmstate_register(-1, &vmstate_tmp105, s); return 0; } static I2CSlaveInfo tmp105_info = { .qdev.name = "tmp105", .qdev.size = sizeof(TMP105State), + .qdev.vmsd = &vmstate_tmp105, .init = tmp105_init, .event = tmp105_event, .recv = tmp105_rx, |