qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 21/42] postcopy: OS support test


From: Amit Shah
Subject: Re: [Qemu-devel] [PATCH v7 21/42] postcopy: OS support test
Date: Tue, 21 Jul 2015 12:59:05 +0530

On (Tue) 16 Jun 2015 [11:26:34], Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
> 
> Provide a check to see if the OS we're running on has all the bits
> needed for postcopy.
> 
> Creates postcopy-ram.c which will get most of the other helpers we need.
> 
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>

> @@ -1165,6 +1166,10 @@ static int 
> loadvm_postcopy_handle_advise(MigrationIncomingState *mis,
>          return -1;
>      }
>  
> +    if (!postcopy_ram_supported_by_host()) {
> +        return -1;
> +    }
> +

So this is just advise: if we receive this, and we can't handle
postcopy, we're going to abort migration?  Shouldn't we continue and
let src know that we can't accept postcopy?  ie the problem is
currently punted to higher levels, should we try to handle it
ourselves?



                Amit



reply via email to

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