[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Why are shared libraries loaded multiple times in a guest VM?
Hi, I have xen 3.0.2-3 installed with linux 2.6.16.13 guests running on them. I have a simple test program to print the address of a function in a shared library (say printf) using dlopen and dlsym. I ran this test on DomO and running another instance of the same program (to make sure the library is still loaded). Both instances print the same address (as expected). But when I do this experiment on a DomU, I get different addresses for the same function. Further investigation of /proc/<pid>/maps shows that the same shared library is loaded in different places on those two machines. Why isn't the different instances of the test program refer the same shared library/ why is the library loaded multiple times? Can somebody help me reason out why this is happening in guest vm? Is this because of some boot option or anything specific to xen? Thank you Arun -- http://www4.ncsu.edu/~abnagara _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |