摘要:
A method is provided of managing hardware triggered hotplug operations of one or more input/output (I/O) cards of a computer system.The method comprises receiving hardware triggers, each of which relates to a hotplug operation to be carried out on an I/O card associated with a card slot, placing the hardware triggers in a queue, and processing the queue of hardware triggers. The method further comprises processing one or more of said hardware triggers. This comprises analysing a hardware trigger to determine the card slot to which said hardware trigger relates, and consulting a hotplug operation policy to determine whether hotplug operations are enabled for said card slot. If hotplug operations are not enabled for said card slot, this further comprises ignoring said hardware trigger, and if hotplug operations are enabled for said card slot, this further comprise querying said slot to determine whether it contains a card. If said card slot does not contain a card, this further comprises ignoring said hardware trigger, and if said card slot does contain a card, determining the nature of the hotplug operation of said hardware trigger. If said hotplug operation is a delete card hotplug operation or a suspend card hotplug operation, this further comprises determining whether said card is essential or non-essential to said computer system, and ignoring said delete card hotplug operation or said suspend card hotplug operation when said card is essential, and performing said delete card hotplug operation or said suspend card hotplug operation when said card is non-essential. If said hotplug operation is an add card hotplug operation or a resume card hotplug operation, this further comprises performing said add card hotplug operation or said resume card hotplug operation.
摘要:
A method is provided of managing hardware triggered hotplug operations of one or more input/output (I/O) cards of a computer system. The method comprises receiving hardware triggers, each of which relates to a hotplug operation to be carried out on an I/O card associated with a card slot, placing the hardware triggers in a queue, and processing the queue of hardware triggers. The method further comprises processing one or more of said hardware triggers. This comprises analysing a hardware trigger to determine the card slot to which said hardware trigger relates, and consulting a hotplug operation policy to determine whether hotplug operations are enabled for said card slot. If hotplug operations are not enabled for said card slot, this further comprises ignoring said hardware trigger, and if hotplug operations are enabled for said card slot, this further comprise querying said slot to determine whether it contains a card. If said card slot does not contain a card, this further comprises ignoring said hardware trigger, and if said card slot does contain a card, determining the nature of the hotplug operation of said hardware trigger. If said hotplug operation is a delete card hotplug operation or a suspend card hotplug operation, this further comprises determining whether said card is essential or non-essential to said computer system, and ignoring said delete card hotplug operation or said suspend card hotplug operation when said card is essential, and performing said delete card hotplug operation or said suspend card hotplug operation when said card is non-essential. If said hotplug operation is an add card hotplug operation or a resume card hotplug operation, this further comprises performing said add card hotplug operation or said resume card hotplug operation.