diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-02-15 13:32:21 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-02-15 13:32:21 +0000 |
commit | c967d12820716b3836a0ea3c1076fa20dd3314ee (patch) | |
tree | 722a432d38c46bfe3f6cad4af78e82b6d6f7b377 /tools/libxc/xc_dom_x86.c | |
parent | 650ae1580c48498693513fa04df56a4b97bb5539 (diff) | |
download | xen-c967d12820716b3836a0ea3c1076fa20dd3314ee.tar.gz xen-c967d12820716b3836a0ea3c1076fa20dd3314ee.tar.bz2 xen-c967d12820716b3836a0ea3c1076fa20dd3314ee.zip |
libxc: fixes for the ARM platform
Make xc_dom_feature_translated an arch-dependent function.
alloc_magic_pages: save console and xenstore pfn's in xc_dom_image.
alloc_magic_pages: set HVM_PARAM_CONSOLE_EVTCHN and
HVM_PARAM_STORE_EVTCHN hvm_params using the event channels allocated by
the toolstack.
Call xc_dom_gnttab_hvm_seed instead of xc_dom_gnttab_seed in
xc_dom_gnttab_init for autotranslated guests.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxc/xc_dom_x86.c')
-rw-r--r-- | tools/libxc/xc_dom_x86.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxc/xc_dom_x86.c b/tools/libxc/xc_dom_x86.c index be2ad6693c..9cbdd62ae9 100644 --- a/tools/libxc/xc_dom_x86.c +++ b/tools/libxc/xc_dom_x86.c @@ -822,6 +822,11 @@ int arch_setup_bootlate(struct xc_dom_image *dom) return 0; } +int xc_dom_feature_translated(struct xc_dom_image *dom) +{ + return elf_xen_feature_get(XENFEAT_auto_translated_physmap, dom->f_active); +} + /* * Local variables: * mode: C |