摘要 |
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for memory requests by a virtual machine. One of the methods includes generating a plurality of doorbell pages for a plurality of virtual machines executing on a device, providing, to each of the plurality of virtual machines, access to a respective one of the plurality of doorbell pages that identifies a queue that stores requests from the respective virtual machine, receiving, from a particular one of the plurality of doorbell pages, a notification that the respective queue has a request from the respective virtual machine, and in response to receiving the notification that the respective queue has a request from the respective virtual machine, causing a processor to process the respective queue for the respective virtual machine. |
主权项 |
1. A computer-implemented method comprising:
generating a plurality of doorbell pages for a plurality of virtual machines executing on a device by assigning a respective address to each of the plurality of doorbell pages; providing, to each of the plurality of virtual machines, access to a respective one of the plurality of doorbell pages that identifies a ring buffer that stores requests from the respective virtual machine by providing, to each of the plurality of virtual machines, the respective address to the respective virtual machine; receiving, from a particular one of the plurality of doorbell pages, a notification that the respective ring buffer has a request from the respective virtual machine; and in response to receiving the notification that the respective ring buffer has a request from the respective virtual machine, causing a processor to process the respective ring buffer for the respective virtual machine. |