Hi Sanidhya,
Which function in savevm.c can tell me about the stop time ? 2014-03-24 13:46 GMT-04:00 Sanidhya Kashyap <sanidhya.ii...@gmail.com>: > savevm.c will tell you about the stop time. > > arch_init.c (ram_save_block) will tell about the number of pages > transferred. > > > On Mon, Mar 24, 2014 at 10:51 PM, Bechir Bani <bechir.b...@gmail.com>wrote: > >> I have a task to add trace points in the source code of Qemu. The goal is >> to know the number of pages transferred at each iteration and stop time of >> the machine as well. >> >> >> 2014-03-24 12:50 GMT-04:00 Dr. David Alan Gilbert <dgilb...@redhat.com>: >> >> * Bechir Bani (bechir.b...@gmail.com) wrote: >>> > Hi, >>> > >>> > I want to know the source code of qemu which is responsible for the >>> > migration of virtual machines, more precisely where the part of the >>> code >>> > that describes the stages of memory transfer. is that you can help me? >>> >>> It's split around a few files; memory is mostly in arch_init.c; >>> It's something like: >>> >>> migration.c Overall management >>> savevm.c >>> qemu-file.c File buffering/bytes on the wire >>> vmstate.c Structured saving of individual devices >>> arch_init.c RAM special code, and a few other things >>> >>> What are you trying to do/change? >>> >>> Dave >>> >>> -- >>> Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK >>> >> >> >> >> -- >> *Béchir Bani * >> **************************************************************** >> *Ecole Polytechnique de Montréal * >> **************************************************************** >> *Laboratoire DORSAL* >> ***************************************************************** >> *Montréal - Canada* >> > > -- *Béchir Bani * **************************************************************** *Ecole Polytechnique de Montréal * **************************************************************** *Laboratoire DORSAL* ***************************************************************** *Montréal - Canada*