qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC v2 1/2] migration: Introduce ram_transferred_add()


From: Philippe Mathieu-Daudé
Subject: Re: [RFC v2 1/2] migration: Introduce ram_transferred_add()
Date: Tue, 21 Dec 2021 09:37:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

On 12/20/21 10:34, David Edmondson wrote:
> ...and use it.

FYI Not all mails readers / git tools display subject along
with content, so it is more helpful to rewrite the subject.

> Signed-off-by: David Edmondson <david.edmondson@oracle.com>
> ---
>  migration/ram.c | 23 ++++++++++++++---------
>  1 file changed, 14 insertions(+), 9 deletions(-)
> 
> diff --git a/migration/ram.c b/migration/ram.c
> index 57efa67f20..bd53e50a7f 100644
> --- a/migration/ram.c
> +++ b/migration/ram.c
> @@ -386,6 +386,11 @@ uint64_t ram_bytes_remaining(void)
>  
>  MigrationStats ram_counters;
>  
> +static void ram_transferred_add(uint64_t bytes)
> +{
> +    ram_counters.transferred += bytes;
> +}

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>




reply via email to

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