aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xg_private.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@xensource.com>2007-02-08 15:00:33 +0000
committerTim Deegan <Tim.Deegan@xensource.com>2007-02-08 15:00:33 +0000
commitde602931ef7752d469b206b21ffad7f38810cda6 (patch)
tree134d8defe6cb1592f24c8839b5b00c5ea287e070 /tools/libxc/xg_private.c
parenta7564870f17251dcd07d60dff2fcb17d66246354 (diff)
downloadxen-de602931ef7752d469b206b21ffad7f38810cda6.tar.gz
xen-de602931ef7752d469b206b21ffad7f38810cda6.tar.bz2
xen-de602931ef7752d469b206b21ffad7f38810cda6.zip
[HVM] Save/restore: don't try to set the console ring MFN
in a HVM restore. In particular, don't print an uninitialized stack variable, which causes XMLRPC exceptions in xend. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'tools/libxc/xg_private.c')
-rw-r--r--tools/libxc/xg_private.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/libxc/xg_private.c b/tools/libxc/xg_private.c
index f45c2ebb0d..6f4f28f988 100644
--- a/tools/libxc/xg_private.c
+++ b/tools/libxc/xg_private.c
@@ -210,8 +210,7 @@ int xc_hvm_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters,
__attribute__((weak))
int xc_hvm_restore(int xc_handle, int io_fd, uint32_t dom,
unsigned long nr_pfns, unsigned int store_evtchn,
- unsigned long *store_mfn, unsigned int console_evtchn,
- unsigned long *console_mfn,
+ unsigned long *store_mfn,
unsigned int pae, unsigned int apic)
{
errno = ENOSYS;