From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Campbell <ian.campbell@citrix.com>,
ian.jackson@eu.citrix.com, wei.liu2@citrix.com
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH] tools: libxc: Add nomigrate stubs for xc_domain_(save|restore)2.
Date: Wed, 15 Jul 2015 12:44:00 +0100 [thread overview]
Message-ID: <55A64780.1000507@citrix.com> (raw)
In-Reply-To: <1436960580-14547-1-git-send-email-ian.campbell@citrix.com>
On 15/07/15 12:43, Ian Campbell wrote:
> Fixes the build on ARM after the switch to migration v2 in
> 210b4817529d "tools/libxc+libxl+xl: Save v2 streams" and
> 3a9ace0147d4 "tools/libxc+libxl+xl: Restore v2 streams".
>
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Sorry for breaking it!
> ---
> tools/libxc/xc_nomigrate.c | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/tools/libxc/xc_nomigrate.c b/tools/libxc/xc_nomigrate.c
> index 76978a036..426aee6 100644
> --- a/tools/libxc/xc_nomigrate.c
> +++ b/tools/libxc/xc_nomigrate.c
> @@ -29,6 +29,14 @@ int xc_domain_save(xc_interface *xch, int io_fd, uint32_t dom, uint32_t max_iter
> return -1;
> }
>
> +int xc_domain_save2(xc_interface *xch, int io_fd, uint32_t dom, uint32_t max_iters,
> + uint32_t max_factor, uint32_t flags,
> + struct save_callbacks* callbacks, int hvm)
> +{
> + errno = ENOSYS;
> + return -1;
> +}
> +
> int xc_domain_restore(xc_interface *xch, int io_fd, uint32_t dom,
> unsigned int store_evtchn, unsigned long *store_mfn,
> domid_t store_domid, unsigned int console_evtchn,
> @@ -41,6 +49,18 @@ int xc_domain_restore(xc_interface *xch, int io_fd, uint32_t dom,
> return -1;
> }
>
> +int xc_domain_restore2(xc_interface *xch, int io_fd, uint32_t dom,
> + unsigned int store_evtchn, unsigned long *store_mfn,
> + domid_t store_domid, unsigned int console_evtchn,
> + unsigned long *console_mfn, domid_t console_domid,
> + unsigned int hvm, unsigned int pae, int superpages,
> + int checkpointed_stream,
> + struct restore_callbacks *callbacks)
> +{
> + errno = ENOSYS;
> + return -1;
> +}
> +
> /*
> * Local variables:
> * mode: C
next prev parent reply other threads:[~2015-07-15 11:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-15 11:43 [PATCH] tools: libxc: Add nomigrate stubs for xc_domain_(save|restore)2 Ian Campbell
2015-07-15 11:44 ` Andrew Cooper [this message]
2015-07-15 12:00 ` Ian Campbell
2015-07-15 11:55 ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55A64780.1000507@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.