diff options
Diffstat (limited to 'Documentation/virtual')
-rw-r--r-- | Documentation/virtual/kvm/api.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 36befa775fdb..f6ec3a92e621 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt | |||
@@ -1950,6 +1950,19 @@ the guest using the specified gsi pin. The irqfd is removed using | |||
1950 | the KVM_IRQFD_FLAG_DEASSIGN flag, specifying both kvm_irqfd.fd | 1950 | the KVM_IRQFD_FLAG_DEASSIGN flag, specifying both kvm_irqfd.fd |
1951 | and kvm_irqfd.gsi. | 1951 | and kvm_irqfd.gsi. |
1952 | 1952 | ||
1953 | With KVM_CAP_IRQFD_RESAMPLE, KVM_IRQFD supports a de-assert and notify | ||
1954 | mechanism allowing emulation of level-triggered, irqfd-based | ||
1955 | interrupts. When KVM_IRQFD_FLAG_RESAMPLE is set the user must pass an | ||
1956 | additional eventfd in the kvm_irqfd.resamplefd field. When operating | ||
1957 | in resample mode, posting of an interrupt through kvm_irq.fd asserts | ||
1958 | the specified gsi in the irqchip. When the irqchip is resampled, such | ||
1959 | as from an EOI, the gsi is de-asserted and the user is notifed via | ||
1960 | kvm_irqfd.resamplefd. It is the user's responsibility to re-queue | ||
1961 | the interrupt if the device making use of it still requires service. | ||
1962 | Note that closing the resamplefd is not sufficient to disable the | ||
1963 | irqfd. The KVM_IRQFD_FLAG_RESAMPLE is only necessary on assignment | ||
1964 | and need not be specified with KVM_IRQFD_FLAG_DEASSIGN. | ||
1965 | |||
1953 | 4.76 KVM_PPC_ALLOCATE_HTAB | 1966 | 4.76 KVM_PPC_ALLOCATE_HTAB |
1954 | 1967 | ||
1955 | Capability: KVM_CAP_PPC_ALLOC_HTAB | 1968 | Capability: KVM_CAP_PPC_ALLOC_HTAB |