#
7e969cb9 |
| 23-Aug-2023 |
Patrick Williams <patrick@stwcx.xyz> |
sdbus++: use non-deprecated namespaces
The sdbusplus repository has deprecated some namespaces and they are currently only enabled with the SDBUSPP_REMOVE_DEPRECATED_NAMESPACE guard. Switch to the
sdbus++: use non-deprecated namespaces
The sdbusplus repository has deprecated some namespaces and they are currently only enabled with the SDBUSPP_REMOVE_DEPRECATED_NAMESPACE guard. Switch to the new namespace names.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9f67e74a02616d8ea2241c18758308f2b669672d
show more ...
|
#
e4a39de3 |
| 22-Aug-2023 |
Andrew Geissler <geissonator@yahoo.com> |
hypervisor: utilize const for currentHostState()
As noted in the referenced bug, need to add a const for the override of host state in the hypervisor class to match up with the base class from phosp
hypervisor: utilize const for currentHostState()
As noted in the referenced bug, need to add a const for the override of host state in the hypervisor class to match up with the base class from phosphor-dbus-interfaces.
Fixes openbmc/phosphor-state-manager#24
Tested: - Verified it compiled
Change-Id: Ic8469dbe0a06b9b0c7ce8efb1867fcde9f3b0b6d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
#
57c0a893 |
| 03-May-2023 |
Andrew Geissler <geissonator@yahoo.com> |
hypervisor: remove OSStart from state association
Turns out the hypervisor never utilized the OSStart BootProgress. Remove it from our mapping to hypervisor state.
Our hostboot BIOS team is actuall
hypervisor: remove OSStart from state association
Turns out the hypervisor never utilized the OSStart BootProgress. Remove it from our mapping to hypervisor state.
Our hostboot BIOS team is actually looking to utilize this BootProgress to indicate when they start the hypervisor. This would just be a standard BootProgress that PSM needs no special handling of.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I99a7110de47943a98a35f0e8bf2516a27bb7e6fa
show more ...
|
#
9f444d4c |
| 03-Feb-2023 |
Andrew Geissler <geissonator@yahoo.com> |
hypervisor: reduce journal logging
Currently, anytime the BootProgress property changes the code will log a "Change to Hypervisor..." message. During the boot though, there are a lot of BootProgress
hypervisor: reduce journal logging
Currently, anytime the BootProgress property changes the code will log a "Change to Hypervisor..." message. During the boot though, there are a lot of BootProgress changes that do not actually result in a hypervisor state change. Be a bit smarter about logging to the journal.
Tested: - Confirmed the journal entry is only written when the hypervisor state is actually changing.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I104a5ff7488f4a660386a581521ab75a12c07206
show more ...
|
#
f053e6fe |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I41103c892db258a85640aa1442acd9a295c8a847
show more ...
|
#
8ffdb269 |
| 20-Sep-2021 |
Andrew Geissler <geissonator@yahoo.com> |
lg2: convert state-manager This converts the rest of phosphor-state-manager over to the lg2 interface. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I387
lg2: convert state-manager This converts the rest of phosphor-state-manager over to the lg2 interface. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I3878ec950b6a2b1ada93544cc021cecf14edfb46
show more ...
|
#
0a675215 |
| 02-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
exception: switch to public sdbus exception SdBusError was intended to be a private error type inside sdbusplus. Switch all catch locations to use the general sdbusplus::exception type.
exception: switch to public sdbus exception SdBusError was intended to be a private error type inside sdbusplus. Switch all catch locations to use the general sdbusplus::exception type. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifa2391f2f582cb2cf16dc85012a05e1f4f6659fd
show more ...
|
#
75f38ee4 |
| 10-Feb-2021 |
Andrew Geissler <geissonator@yahoo.com> |
hypervisor: reset requested host state on power off The hypervisor only supports a one-shot Standby->Running transition request. To make things more user friendly, reset the requested
hypervisor: reset requested host state on power off The hypervisor only supports a one-shot Standby->Running transition request. To make things more user friendly, reset the requested transition on server power off's since there's no reason to keep around the previous requests. Tested: - Built image with all related changes and verified hypervisor state correctly tracked with BootProgress and that requesting an On transition successfully made it to the hypervisor. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I0f06dde6f6f0c203ed69c238acdb95fcfd8a1d15
show more ...
|
#
c74716e5 |
| 09-Feb-2021 |
Andrew Geissler <geissonator@yahoo.com> |
hypervisor: monitor boot progress The BootProgress property will be tracked to set the hypervisor state as appropriate Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
hypervisor: monitor boot progress The BootProgress property will be tracked to set the hypervisor state as appropriate Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I5aa5d95893222169bc5abed6b851e795f2ad5ff0
show more ...
|
#
fe270d35 |
| 27-Jan-2021 |
Andrew Geissler <geissonator@yahoo.com> |
hypervisor: state management support Some systems have a hypervisor firmware stack which they wish to track and change the state of. This new state management object will provide thi
hypervisor: state management support Some systems have a hypervisor firmware stack which they wish to track and change the state of. This new state management object will provide this function if a user selects to bring it into their system. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I6082c6e06c6731d71f2e580e1ab87af38917bb3a
show more ...
|