Re: [Qemu-devel] [PATCH 03/11] migration: Split registration functions from vmstate.h

2017-06-12 Thread Juan Quintela
Peter Xu wrote: > On Thu, Jun 01, 2017 at 11:29:13PM +0200, Juan Quintela wrote: >> They are indpendent, and nowadays almost every device register things >> with qdev->vmsd. >> >> Signed-off-by: Juan Quintela >> + >> +int register_savevm(DeviceState

Re: [Qemu-devel] [PATCH 03/11] migration: Split registration functions from vmstate.h

2017-06-12 Thread Peter Xu
On Thu, Jun 01, 2017 at 11:29:13PM +0200, Juan Quintela wrote: > They are indpendent, and nowadays almost every device register things > with qdev->vmsd. > > Signed-off-by: Juan Quintela > --- > hw/net/vmxnet3.c | 1 + > hw/ppc/spapr.c | 1 + >

[Qemu-devel] [PATCH 03/11] migration: Split registration functions from vmstate.h

2017-06-01 Thread Juan Quintela
They are indpendent, and nowadays almost every device register things with qdev->vmsd. Signed-off-by: Juan Quintela --- hw/net/vmxnet3.c | 1 + hw/ppc/spapr.c | 1 + hw/s390x/s390-skeys.c| 1 + hw/s390x/s390-virtio-ccw.c | 1 +