Amit Kumar <amit251...@gmail.com> writes:
> Following up on the previous email I sent. I want to understand the migration > code, I have read a couple of papers on > how it works in theory, but I am finding it hard to find a starting > point where I can start to understand the code. Start looking at the VMStateDescription and what follows from there. This is the principle source of serialisation information when saving and restoring device state. The VMSTATE_* macros wrap up a lot of the structures. > > Any help would be appreciated. > > Thank you > > On Wed, Oct 11, 2023 at 9:40 AM Amit Kumar <amit251...@gmail.com> wrote: > > Hi > I am trying to understand how migration, more specifically live-migration > works in QEMU. I've tried going > through the source code but didn't understand much, and couldn't find > documentation either. I want to work on > live migration and need help getting to know the code. > More specifically I want to understand > - where the pre/post copy algorithms are implemented > - which files/data-structures that I should look at > - should I need to make changes, where and how should I start? > > I am new to working with such large code bases, hence need some guidance. > > Thanks > > Amit Kumar -- Alex Bennée Virtualisation Tech Lead @ Linaro