On 3/30/2012 8:23 PM, Dmitry Torokhov wrote:
> On Friday, March 30, 2012 03:22:46 PM Stanislav wrote:
>> Hello,
>>
>> When we compile open-vmtools without dnet how it can determine
>> information about IP addresses for Guest OS? I see that it can show this
>> info in the VM Summary for my VM on ESXi4.1 but don't understand how it
>> works in the code.
> Please take a look at services/plugins/guestInfo/, particularly
> guestInfoServer.c, guestInfoPosix.c and GuestInfo_GetNicInfo(),
> GuestInfoGetNicInfo().
>
> If you do not want to use libdnet you'll have to collect the data from your
> systems by other means and format it exactly like the current code does it for
> libdnet data.
>
> Hope this helps.
>
OK, thanks. Let me explain the problem.

For our system we use our special mechanism to save IP addresses and 
retrieve it in the libguestinfo plugin(by replacing 
GuestInfo_GetNicInfo() function to our function). It works in some 
cases, but we see some strange thing when it does not work.

So, I'm started my investigation and walk through the open-vmtools code. 
I've download fresh tarball(8.6), compile it  without dnet, without 
kernel modules, without x and some other features. I'm using regular 
ubuntu for testing this binaries and see that IP can be shown without 
using dnet or some other mechanism. It's very strange. 
GuestInfoGetNicInfo() has #ifndef NO_DNET and I don't use dnet. So, this 
function does not work. And my question is how it works if we don't have 
dnet and special kernel modules?

-- 
Stas


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to