主权项 |
1. A method of managing an adapter, the method comprising:
configuring a hardware input/output (I/O) adapter using a virtualization intermediary in a single root input/output virtualization (SR-IOV) enabled mode; enabling the hardware I/O adapter to be shared by a plurality of operating systems, wherein the hardware I/O adapter hosts a first virtual function and a second virtual function, and wherein the first and second virtual functions are associated with respective first and second virtual function identifiers (IDs); assigning, by the virtualization intermediary, the first and second virtual functions to at least one operating system of the plurality of operating systems, wherein the at least one operating system includes a peripheral component interconnect (PCI) device tree; and assigning, by the virtualization intermediary, respective first and second tokens to the at least one operating system, wherein the first token includes the first virtual function ID and a group identifier associated with a slot location of the hardware I/O adapter hosting the first virtual function, and wherein the second token includes the second virtual function ID and the group identifier associated with the slot location of the hardware I/O adapter. |