diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-06-19 16:15:05 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-06-19 16:15:05 +0100 |
commit | 50bddc93078cb4f3e757027fbe3b9a15659050c0 (patch) | |
tree | 260c0ca76854afa92c5536603c5a0361a378341b /tools/libxc/xg_save_restore.h | |
parent | c385f786c2b062e79c92a760ca0973ef0d54371a (diff) | |
download | xen-50bddc93078cb4f3e757027fbe3b9a15659050c0.tar.gz xen-50bddc93078cb4f3e757027fbe3b9a15659050c0.tar.bz2 xen-50bddc93078cb4f3e757027fbe3b9a15659050c0.zip |
libxc: The following patch replace the libxc interface to use
vcpu_guest_context_any_t (which is both 32 and 64 bits) instead of
vcpu_guest_context_t.
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xg_save_restore.h')
-rw-r--r-- | tools/libxc/xg_save_restore.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/libxc/xg_save_restore.h b/tools/libxc/xg_save_restore.h index 2da1e2090d..5d39982c00 100644 --- a/tools/libxc/xg_save_restore.h +++ b/tools/libxc/xg_save_restore.h @@ -112,28 +112,6 @@ static inline int get_platform_info(int xc_handle, uint32_t dom, #define is_mapped(pfn_type) (!((pfn_type) & 0x80000000UL)) -/* 32-on-64 support: saving 32bit guests from 64bit tools and vice versa */ -typedef union -{ - vcpu_guest_context_x86_64_t x64; - vcpu_guest_context_x86_32_t x32; - vcpu_guest_context_t c; -} vcpu_guest_context_either_t; - -typedef union -{ - shared_info_x86_64_t x64; - shared_info_x86_32_t x32; - shared_info_t s; -} shared_info_either_t; - -typedef union -{ - start_info_x86_64_t x64; - start_info_x86_32_t x32; - start_info_t s; -} start_info_either_t; - #define GET_FIELD(_p, _f) ((guest_width==8) ? ((_p)->x64._f) : ((_p)->x32._f)) #define SET_FIELD(_p, _f, _v) do { \ |