diff mbox

KVM: Fix KVM_ASSIGN_SET_MSIX_ENTRY documentation

Message ID 4DF34258.6060001@web.de (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka June 11, 2011, 10:24 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

The documented behavior did not match the implemented one (which also
never changed).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 Documentation/virtual/kvm/api.txt |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

Comments

Avi Kivity June 13, 2011, 8:53 a.m. UTC | #1
On 06/11/2011 01:24 PM, Jan Kiszka wrote:
> From: Jan Kiszka<jan.kiszka@siemens.com>
>
> The documented behavior did not match the implemented one (which also
> never changed).

Applied, thanks.
diff mbox

Patch

diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
index 0ebe922..b251136 100644
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@ -1234,8 +1234,10 @@  Type: vm ioctl
 Parameters: struct kvm_assigned_msix_nr (in)
 Returns: 0 on success, -1 on error
 
-Set the number of MSI-X interrupts for an assigned device. This service can
-only be called once in the lifetime of an assigned device.
+Set the number of MSI-X interrupts for an assigned device. The number is
+reset again by terminating the MSI-X assignment of the device via
+KVM_DEASSIGN_DEV_IRQ. Calling this service more than once at any earlier
+point will fail.
 
 struct kvm_assigned_msix_nr {
 	__u32 assigned_dev_id;