qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_s


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page
Date: Tue, 20 Mar 2018 16:08:35 +0000
User-agent: Mutt/1.9.2 (2017-12-15)

* Michael S. Tsirkin (address@hidden) wrote:
> This fixes the build on systems without userfaultfd.
> 
> Signed-off-by: Michael S. Tsirkin <address@hidden>

Reviewed-by: Dr. David Alan Gilbert <address@hidden>

> ---
>  migration/postcopy-ram.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c
> index 146bc09..bf78d5c 100644
> --- a/migration/postcopy-ram.c
> +++ b/migration/postcopy-ram.c
> @@ -928,6 +928,13 @@ int postcopy_ram_prepare_discard(MigrationIncomingState 
> *mis)
>      return -1;
>  }
>  
> +int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb,
> +                                 uint64_t client_addr, uint64_t rb_offset)
> +{
> +    assert(0);
> +    return -1;
> +}
> +
>  int postcopy_ram_enable_notify(MigrationIncomingState *mis)
>  {
>      assert(0);
> -- 
> MST
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK



reply via email to

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