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

Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail

libxc functions always return -1 when it fails. You need the specific
errno to know what went wrong.

Yeah, I know it means a failure. Actually, I noticed that there is a comment at the source code of xen, which says :
"This is a bit odd to me that it acts on current..  it return -1 directly"

which is exactly about xc_altp2m_set_vcpu_enable_notify.  In my case, xc_altp2m_set_vcpu_enable_notify always return -1 just as the author comments.Besides, I've also found no existing usage about this function all over the Internet. So I'm wondering if this function actually works or not. Anyway, why would the author comments that? @Ian @Tamas

Do you have any difficulty debugging Xen? We might be able to give some
pointers on how to do that.

Yeah, I've enabled debug option when compiling xen, what else steps should I take to use a remote gdb to debug xen instead of dom0 or domU? 
Xen-devel mailing list



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