diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-04-21 12:49:00 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-04-21 12:49:00 +0100 |
commit | a5f70e8d9271da4675a044954ed2cc82d5a8fcd9 (patch) | |
tree | 4fb0a92b2c5b759d6d0789ab13c46f6145c57006 /tools/libxc/xc_private.h | |
parent | 78be3dbbfefa43c4ff4a19ae84342b907e0cef4a (diff) | |
download | xen-a5f70e8d9271da4675a044954ed2cc82d5a8fcd9.tar.gz xen-a5f70e8d9271da4675a044954ed2cc82d5a8fcd9.tar.bz2 xen-a5f70e8d9271da4675a044954ed2cc82d5a8fcd9.zip |
cpupools [2/6]: libxc changes
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
Diffstat (limited to 'tools/libxc/xc_private.h')
-rw-r--r-- | tools/libxc/xc_private.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h index fba384cc73..004c5938d8 100644 --- a/tools/libxc/xc_private.h +++ b/tools/libxc/xc_private.h @@ -164,6 +164,19 @@ static inline int do_domctl(int xc_handle, struct xen_domctl *domctl) return ret; } +static inline int do_domctl_save(int xc_handle, struct xen_domctl *domctl) +{ + int ret; + + do + { + ret = do_domctl(xc_handle, domctl); + } + while ( (ret < 0 ) && (errno == EAGAIN) ); + + return ret; +} + static inline int do_sysctl(int xc_handle, struct xen_sysctl *sysctl) { int ret = -1; |