Runtime modification of property names in advanced configuration and power interface (ACPI) tables
AssigneeRed Hat Israel, Ltd.
InventorMichael Tsirkin
Life of this patent
Estimating the term…
Abstract
A system and method are disclosed for efficient runtime modification of device property names in Advanced Configuration and Power Interface (ACPI) tables. In accordance with one embodiment, a computer system determines whether a device supports a device property, and when the device does not support the device property, a device property name corresponding to the device name is modified in a particular entry of an ACPI table, such that a checksum for that entry remains unchanged. The modified device property name indicates to the computer system that the device does not support the device property.
Claims24
A method comprising:
- determining, by a computer system, whether a device identified in a system table supports a device property;
- and
- when the device does not support the device property, modifying, in an entry of the system table, a device property name corresponding to the device property;
- wherein the system table comprises a plurality of entries, each entry associating a respective device name with a respective device property name, and each entry comprising a respective checksum in view of the respective device name and the respective device property name;
- and
- wherein the modified device property name indicates to the computer system that the device does not support the device property;
- and
- wherein the modified device property name does not impact the checksum of the corresponding entry.
An apparatus comprising:
- a memory to store a relation, wherein the relation comprises a tuple associating (i) a device name corresponding to a device, (ii) a device property name corresponding to a device property, and (iii) a checksum that is in view of the device name and the device property name;
- and
- a processing device to:
- execute an operating system,
- determine, for the tuple, whether the device supports the device property, and
- when the device does not support the device property, updating the device property name in the tuple to a new name that:
- indicates to the operating system that the device does not support the device property, and
- does not impact the checksum.
A non-transitory computer readable storage medium, having instructions stored therein, which when executed, cause a computer system to perform operations comprising:
- determining, by the computer system, whether a device identified in an Advanced Configuration and Power Interface (ACPI) table supports a device property;
- and
- when the device does not support the device property, updating, in an entry of the ACPI table, a device property name corresponding to the device property;
- wherein the ACPI table comprises a plurality of entries, each entry associating a respective device name with a respective device property name, and each entry comprising a respective checksum in view of the respective device name and the respective device property name;
- and
- wherein the modified device property name indicates to the computer system that the device does not support the device property;
- and
- wherein the modified device property name does not require a change to the checksum for the entry.
Dependencies are inferred from the claim text.