Patent ID: 7954156

Claim:
An apparatus in a computer system, which includes a processor, of restricting external interfaces of the computer system, the apparatus comprising: the processor accessing a hypervisor partition management firmware using a plurality of hypervisor firmware calls, wherein the plurality of hypervisor firmware calls include all firmware calls that can be used to access the hypervisor partition management firmware; the processor creating a dynamic table that includes a plurality of entries, wherein each one of the plurality of entries is associated with a different one of the plurality of hypervisor firmware calls, and wherein an entry exists in the plurality of entries that is associated with each one of the plurality of hypervisor firmware calls; the processor searching a first computer for a specific attribute; the processor populating the dynamic table with only ones of the plurality of hypervisor firmware calls that are associated with the specific attribute, wherein each one of the only ones of the plurality of hypervisor firmware calls is stored in one of the plurality of entries that is associated with said each one of said only ones of the plurality of hypervisor firmware calls; wherein ones of the plurality of entries of the table that are associated with ones of the plurality of hypervisor firmware calls that are not associated with the specific attribute are filled with routines that return an error, and wherein the table includes particular hypervisor firmware calls that are included in the plurality of hypervisor firmware calls and particular error routines; and wherein the specific attribute is an operating system type.