Solaris System Management Agent Developer's Guide

addLPMappingTableEntry()

Synopsis

extern int addLPMappingTableEntry(int xentLogicalIndex, int xentPhysicalIndex );

Description

Adds an entry to the entLPMappingTable with the xentLogicalIndex as the primary index and xentPhysicalIndex as the secondary index.

Returns

0

for successful addition.

1

if the entry already exists for the given xentPhysicalIndex and xentLogicalIndex.

-1

for failure to add.

-2

for stale index.