发明名称 Determining a virtual interrupt source number from a physical interrupt source number
摘要 In an embodiment, a request is received from a virtual machine that specifies a virtual ISN and a hardware resource. A physical ISN is selected that is assigned to the hardware resource. The physical ISN is assigned to the virtual ISN as an assigned pair. The request and the physical ISN are sent to the hardware resource. A physical interrupt is received from the hardware resource that specifies the physical ISN. In response to the receipt of the physical interrupt that specifies the physical ISN, the virtual machine and the virtual ISN that is assigned to the first physical ISN are determined from the physical interrupt and the assigned pair from among a plurality of virtual machines. In response to determining the virtual machine and first virtual ISN that is assigned to the physical ISN, a virtual interrupt that comprises that virtual ISN is sent to the virtual machine.
申请公布号 US9063918(B2) 申请公布日期 2015.06.23
申请号 US201313768574 申请日期 2013.02.15
申请人 International Business Machines Corporation 发明人 Jacobs Stuart Z.;Larson David A.
分类号 G06F13/24;G06F9/50 主分类号 G06F13/24
代理机构 代理人 Gamon Owen J.
主权项 1. A method comprising: receiving a request from a virtual machine that specifies a first virtual interrupt source number and a first hardware resource; selecting a first physical interrupt source number that is assigned to the first hardware resource; assigning the first physical interrupt source number to the first virtual interrupt source number as an assigned pair that comprises the first physical interrupt source number and the first virtual interrupt source number; saving the assigned pair; sending the request and the first physical interrupt source number to the first hardware resource; receiving a physical interrupt from the first hardware resource that specifies the first physical interrupt source number; in response to the receiving the physical interrupt that specifies the first physical interrupt source number, determining the virtual machine and the first virtual interrupt source number that is assigned to the first physical interrupt source number from the physical interrupt and the assigned pair, wherein the determining the virtual machine determines the virtual machine from among a plurality of virtual machines; and in response to the determining the virtual machine and the first virtual interrupt source number that is assigned to the first physical interrupt source number, sending a virtual interrupt that comprises that first virtual interrupt source number to the virtual machine.
地址 Armonk NY US