[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] how does variable num define for errno in libxc



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  
> 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 
> migration, after shutdown VM,and XEN_DOMCTL_SHADOW_OP_CLEAN, how to make VM
>  
>  remain in shadow mode XEN_DOMCTL_SHADOW_OP_ENABLE_LOGDIRTY?  i have 
> modified the code to try to make it as follows
>             if ( !(xc_shadow_control(xc_handle, dom, 
> XEN_DOMCTL_SHADOW_OP_OFF,
>                                      NULL, 0, NULL, 0, NULL) >= 0 &&
>                    xc_shadow_control(xc_handle, dom,
>                                      XEN_DOMCTL_SHADOW_OP_ENABLE_LOGDIRTY,
>                                      NULL, 0, NULL, 0, NULL) >= 0) )
> 
> 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

-- 
Daniel Stodden
LRR     -      Lehrstuhl fÃr Rechnertechnik und Rechnerorganisation
Institut fÃr Informatik der TU MÃnchen             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.