From patchwork Sat Jun 11 10:24:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 871262 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5BAPCOE025117 for ; Sat, 11 Jun 2011 10:25:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753777Ab1FKKY0 (ORCPT ); Sat, 11 Jun 2011 06:24:26 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:44292 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679Ab1FKKY0 (ORCPT ); Sat, 11 Jun 2011 06:24:26 -0400 Received: from smtp03.web.de ( [172.20.0.65]) by fmmailgate02.web.de (Postfix) with ESMTP id 1FFF51A2F46EA; Sat, 11 Jun 2011 12:24:25 +0200 (CEST) Received: from [88.65.244.71] (helo=mchn199C.mchp.siemens.de) by smtp03.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #2) id 1QVLMf-0002Zs-00; Sat, 11 Jun 2011 12:24:25 +0200 Message-ID: <4DF34258.6060001@web.de> Date: Sat, 11 Jun 2011 12:24:24 +0200 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Avi Kivity , Marcelo Tosatti CC: kvm Subject: [PATCH] KVM: Fix KVM_ASSIGN_SET_MSIX_ENTRY documentation X-Enigmail-Version: 1.1.2 X-Sender: jan.kiszka@web.de X-Provags-ID: V01U2FsdGVkX18M6uCkcWythriePfa4VDrBKrvWdpA3kRRvb1au EVUU/fGuwWeQ7y9ONL8STOyjhGHwdr+UXx6L8pDlPkbZ0kNsMS gHtzpa6jo= Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sat, 11 Jun 2011 10:25:12 +0000 (UTC) From: Jan Kiszka The documented behavior did not match the implemented one (which also never changed). Signed-off-by: Jan Kiszka --- Documentation/virtual/kvm/api.txt | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) 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;