From: Daniel Stodden Subject: Re: how does variable num define for errno in libxc Date: Wed, 19 Mar 2008 12:11:55 +0100 Message-ID: <1205925115.12674.10.camel@thinkpad.localdomain> References: <47E08D22.10803@ncic.ac.cn> <1205899750.12674.4.camel@thinkpad.localdomain> <47E0C991.5070704@sina.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <47E0C991.5070704@sina.com.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: tgh Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2008-03-19 at 16:06 +0800, tgh wrote: > Thank you > and man errno ,there is no match or map between num,say 104 and =20 > consist ,say EBADMSG, or maybe some book more helpful find /usr/include -name errno.h | xargs grep 104 > another question > i am confused about how to use shadow mechanism ,that is, when live=20 > migration, after shutdown VM,and XEN_DOMCTL_SHADOW_OP_CLEAN, how to mak= e VM > =20 > remain in shadow mode XEN_DOMCTL_SHADOW_OP_ENABLE_LOGDIRTY? i have=20 > modified the code to try to make it as follows > if ( !(xc_shadow_control(xc_handle, dom,=20 > XEN_DOMCTL_SHADOW_OP_OFF, > NULL, 0, NULL, 0, NULL) >=3D 0 && > xc_shadow_control(xc_handle, dom, > XEN_DOMCTL_SHADOW_OP_ENABLE_LOGDIR= TY, > NULL, 0, NULL, 0, NULL) >=3D 0) ) >=20 > but it seems not to work , and how to do it ,or any help Didn't look at this code for a while. no immediate idea, sorry. regards, Daniel --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B