Revision ff90d503

b/hw/vmmouse.c
265 265
    vmport_register(VMMOUSE_STATUS, vmmouse_ioport_read, s);
266 266
    vmport_register(VMMOUSE_COMMAND, vmmouse_ioport_read, s);
267 267
    vmport_register(VMMOUSE_DATA, vmmouse_ioport_read, s);
268
    vmstate_register(NULL, 0, &vmstate_vmmouse, s);
269 268

  
270 269
    return 0;
271 270
}
......
274 273
    .init          = vmmouse_initfn,
275 274
    .qdev.name     = "vmmouse",
276 275
    .qdev.size     = sizeof(VMMouseState),
276
    .qdev.vmsd     = &vmstate_vmmouse,
277 277
    .qdev.no_user  = 1,
278 278
    .qdev.reset    = vmmouse_reset,
279 279
    .qdev.props = (Property[]) {

Also available in: Unified diff