qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Beginner-Help] Help understanding the migration Code


From: Alex Bennée
Subject: Re: [Beginner-Help] Help understanding the migration Code
Date: Tue, 17 Oct 2023 18:19:51 +0100
User-agent: mu4e 1.11.22; emacs 29.1.50

Amit Kumar <amit251098@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 <amit251098@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]