Re: [XenAccess-devel] linux_predict_sysmap_name called twice?
Status: Beta
Brought to you by:
bdpayne
From: Daniele S. <da...@ya...> - 2006-07-18 14:24:27
|
> Great, welcome to the list :-) It's my pleasure :D > Could you provide a little more information? > > * The code that is causing this problem > * The version of XenAccess that you are using > (stable or svn) > * The version of Xen that you are using > * The linux distro / version that you are using > (e.g., FC5) -The code I'm testing is examples/process_list.c, the only thing I've added is: if(argc > 1) dom = atoi(argv[1]); (so that I can check any domain) -XenAccess version is 0.1 -My Xen version is 3.0.2-2 compiled from sources (with AC module) -My Linux distro is FC5 and this is the output of uname -a: Linux localhost.localdomain 2.6.16-xen #1 SMP Mon Jul 3 18:18:42 CEST 2006 i686 i686 i386 GNU/Linux Anyway, if I add this little modification (just for testing) to the file linux_domain_info.c char *linux_get_kernel_name (int id) { ..... if(kernel != NULL) return kernel; (and not freeing the return value of the first call to this function), everything works fine, so it seems the second time virDomainLookupByID is called it doesn't work. Thanks for your help! Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com |