主权项 |
1. A method, comprising:
maintaining a reference table comprising a first set of entries relating to a first plurality of performance sensitive devices and a second set of entries relating to a second plurality of non-performance sensitive devices, wherein each of the first set of entries and the second set of entries comprises a devices identifier, a device address, and an address hint, and wherein the first set of entries comprise address hints represented by index values, and wherein the second set of entries comprise address hints represented by non-index values; receiving, by a processing devices executing a hypervisor from a guest, a first request for access to a devices, wherein the first request comprises a devices address; retrieving, from the reference table, and address hint represented by an index value associated with the device, wherein the device is identified as a performance sensitive device; transmitting, by the processing device, the address hint associated with the performance sensitive device to the guest; receiving, from the guest, a second request for access to the performance sensitive device, wherein the second request comprises the address hint; performing a first look-up in the reference table in view of the address hint represented by the index value to identify the performance sensitive device; and establishing, by the processing devices, access to the performance sensitive device in view of identifying the performance sensitive device in the first look-up. |