diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-22 15:15:32 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-22 15:15:32 +0000 |
commit | f4e8a7e419d9616e8f45affb694eb83168fe25bc (patch) | |
tree | e8a019cc7a63988d518d5de41df050fe2a28a709 /tools/libxc/xg_save_restore.h | |
parent | b6d2434d38e17e11aba63c7c9a6abe1846b949bf (diff) | |
download | xen-f4e8a7e419d9616e8f45affb694eb83168fe25bc.tar.gz xen-f4e8a7e419d9616e8f45affb694eb83168fe25bc.tar.bz2 xen-f4e8a7e419d9616e8f45affb694eb83168fe25bc.zip |
Implement clean return from save/restore failure (so that original
domain can continue execution).
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
Diffstat (limited to 'tools/libxc/xg_save_restore.h')
-rw-r--r-- | tools/libxc/xg_save_restore.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/libxc/xg_save_restore.h b/tools/libxc/xg_save_restore.h index 6275b37ef0..5496f02b70 100644 --- a/tools/libxc/xg_save_restore.h +++ b/tools/libxc/xg_save_restore.h @@ -34,11 +34,10 @@ ** ** Returns 1 on success, 0 on failure. */ -static int get_platform_info(int xc_handle, uint32_t dom, - /* OUT */ unsigned long *max_mfn, - /* OUT */ unsigned long *hvirt_start, - /* OUT */ unsigned int *pt_levels) - +static inline int get_platform_info(int xc_handle, uint32_t dom, + /* OUT */ unsigned long *max_mfn, + /* OUT */ unsigned long *hvirt_start, + /* OUT */ unsigned int *pt_levels) { xen_capabilities_info_t xen_caps = ""; xen_platform_parameters_t xen_params; |