commit | ca93bb10647a709322d6d1e6c043dea75f679c97 | [log] [tgz] |
---|---|---|
author | Johnathan Mantey <johnathanx.mantey@intel.com> | Fri Dec 02 13:33:17 2022 -0800 |
committer | Johnathan Mantey <johnathanx.mantey@intel.com> | Thu Dec 08 10:53:10 2022 -0800 |
tree | 599a91f1276182f6739480d9003cab2fbfe5915c | |
parent | a1bd285e9a5862695bf58db0ce7afea655e04ced [diff] |
Report IPMI session IDs for active IPMI sessions The Get Session Info command failed to return the session ID for the session requested. Instead it always returned the value of the last record processed. This commit returns the correct session ID for the requested record. Tested: Created multiple 'ipmitool shell' or 'ipmitool sol' sessions Used 'ipmitool raw 6 0x3d <rec-num>' to iterate over each session. 0 to <rec-num> Used 'ipmitool session info all' to get a human friendly output. Prior to this commit 'session info all' returned a single session ID value for all records: session handle : 1 Now the session handle reports the value created by the BMC: session handle : 129 The session handle is unique for each active 'shell'/'sol' Change-Id: Ied35f021a18ca302b5285d56bf9b51b3ebc52543 Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage