diff options
author | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2010-06-25 15:43:50 +0100 |
---|---|---|
committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2010-06-25 15:43:50 +0100 |
commit | ddf97d4db83f628d7763b394d7f334bc8a8b3e3f (patch) | |
tree | 3bd94c176f7bb52a9d77cf2c1cab98ad553ea4ff /tools/libxc/xc_core.c | |
parent | a2fab4fce5401b510d237fd12d12a5382c5091b0 (diff) | |
download | xen-ddf97d4db83f628d7763b394d7f334bc8a8b3e3f.tar.gz xen-ddf97d4db83f628d7763b394d7f334bc8a8b3e3f.tar.bz2 xen-ddf97d4db83f628d7763b394d7f334bc8a8b3e3f.zip |
libxc: Fix ia64 build for interface change
This patch fixes ia64 by the following method:
- rename xc_handle xch
- rename guest_xc xch
- add xc_interface *xch to arguments of some functions
- replace xc_dom_printf with macros
- Add *xch argument to corresponding x86 functions [iwj]
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_core.c')
-rw-r--r-- | tools/libxc/xc_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xc_core.c b/tools/libxc/xc_core.c index b164e2a5ad..f474be9342 100644 --- a/tools/libxc/xc_core.c +++ b/tools/libxc/xc_core.c @@ -642,7 +642,7 @@ xc_domain_dumpcore_via_callback(xc_interface *xch, offset += filesz; /* arch context */ - sts = xc_core_arch_context_get_shdr(&arch_ctxt, sheaders, strtab, + sts = xc_core_arch_context_get_shdr(xch, &arch_ctxt, sheaders, strtab, &filesz, offset); if ( sts != 0 ) goto out; @@ -773,7 +773,7 @@ xc_domain_dumpcore_via_callback(xc_interface *xch, } /* arch specific context */ - sts = xc_core_arch_context_dump(&arch_ctxt, args, dump_rtn); + sts = xc_core_arch_context_dump(xch, &arch_ctxt, args, dump_rtn); if ( sts != 0 ) goto out; |