Skip to content

Commit 58f0964

Browse files
jan-kiszkaavikivity
authored andcommitted
KVM: Fix KVM_ASSIGN_SET_MSIX_ENTRY documentation
The documented behavior did not match the implemented one (which also never changed). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
1 parent 9f3191a commit 58f0964

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎Documentation/virtual/kvm/api.txt‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,8 +1234,10 @@ Type: vm ioctl
12341234
Parameters: struct kvm_assigned_msix_nr (in)
12351235
Returns: 0 on success, -1 on error
12361236

1237-
Set the number of MSI-X interrupts for an assigned device. This service can
1238-
only be called once in the lifetime of an assigned device.
1237+
Set the number of MSI-X interrupts for an assigned device. The number is
1238+
reset again by terminating the MSI-X assignment of the device via
1239+
KVM_DEASSIGN_DEV_IRQ. Calling this service more than once at any earlier
1240+
point will fail.
12391241

12401242
struct kvm_assigned_msix_nr {
12411243
__u32 assigned_dev_id;

0 commit comments

Comments
 (0)