From: Alex Williamson <alex.williamson@hp.com>
To: Keir Fraser <keir@xensource.com>, Tim Deegan <Tim.Deegan@xensource.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] Re: [Xen-staging] [xen-unstable] [HVM] Save/restore: merge xc_linux_restore and xc_hvm_restore
Date: Thu, 05 Apr 2007 11:02:04 -0600 [thread overview]
Message-ID: <1175792524.5747.18.camel@lappy> (raw)
In-Reply-To: <200704051414.l35EELcE008903@latara.uk.xensource.com>
On Thu, 2007-04-05 at 15:14 +0100, Xen staging patchbot-unstable wrote:
> # HG changeset patch
> # User Tim Deegan <Tim.Deegan@xensource.com>
> # Date 1175782282 -3600
> # Node ID e518f2fbdd724ca7b21789d2d075c7ee8665ddaa
> # Parent 602d061ff51f50d7b46bd5ca78c4b70fbe809d20
> [HVM] Save/restore: merge xc_linux_restore and xc_hvm_restore
> into one function (and one file) since they share a lot of code
Build fix for ia64. Keir/Tim, could you please check this into
xen-unstable.hg. Thanks,
Alex
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---
diff -r 69ab63bee57c tools/libxc/ia64/xc_ia64_linux_restore.c
--- a/tools/libxc/ia64/xc_ia64_linux_restore.c Thu Apr 05 17:26:51 2007 +0100
+++ b/tools/libxc/ia64/xc_ia64_linux_restore.c Thu Apr 05 10:38:11 2007 -0600
@@ -59,9 +59,10 @@ read_page(int xc_handle, int io_fd, uint
}
int
-xc_linux_restore(int xc_handle, int io_fd, uint32_t dom,
+xc_domain_restore(int xc_handle, int io_fd, uint32_t dom,
unsigned int store_evtchn, unsigned long *store_mfn,
- unsigned int console_evtchn, unsigned long *console_mfn)
+ unsigned int console_evtchn, unsigned long *console_mfn,
+ unsigned int hvm, unsigned int pae)
{
DECLARE_DOMCTL;
int rc = 1, i;
@@ -80,6 +81,11 @@ xc_linux_restore(int xc_handle, int io_f
/* A temporary mapping of the guest's start_info page. */
start_info_t *start_info;
+
+ if (hvm) {
+ ERROR("HVM Restore is unsupported");
+ goto out;
+ }
/* For info only */
nr_pfns = 0;
parent reply other threads:[~2007-04-05 17:02 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200704051414.l35EELcE008903@latara.uk.xensource.com>]
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=1175792524.5747.18.camel@lappy \
--to=alex.williamson@hp.com \
--cc=Tim.Deegan@xensource.com \
--cc=keir@xensource.com \
--cc=xen-devel@lists.xensource.com \
/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.