qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] migration: Calculate ram size once


From: David Hildenbrand
Subject: Re: [PATCH 2/2] migration: Calculate ram size once
Date: Wed, 11 May 2022 11:22:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 11.05.22 01:17, Juan Quintela wrote:
> We are recalculating ram size continously, when we know that it don't
> change during migration.  Create a field in RAMState to track it.

We do have resizable RAM, which triggers ram_mig_ram_block_resized() on
resizes when changing block->used_length.

ram_mig_ram_block_resized() aborts migration when we detect a resize on
the source. I assume that is what you care about here, right?


-- 
Thanks,

David / dhildenb




reply via email to

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