From patchwork Tue Mar 17 11:27:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng Yang X-Patchwork-Id: 12583 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2HBROBm009340 for ; Tue, 17 Mar 2009 11:27:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762119AbZCQL1Y (ORCPT ); Tue, 17 Mar 2009 07:27:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763144AbZCQL1Y (ORCPT ); Tue, 17 Mar 2009 07:27:24 -0400 Received: from mga03.intel.com ([143.182.124.21]:12032 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763110AbZCQL1X (ORCPT ); Tue, 17 Mar 2009 07:27:23 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 17 Mar 2009 04:27:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.38,378,1233561600"; d="scan'208";a="121076536" Received: from syang10-desktop.sh.intel.com (HELO syang10-desktop) ([10.239.13.189]) by azsmga001.ch.intel.com with ESMTP; 17 Mar 2009 04:27:21 -0700 Received: from yasker by syang10-desktop with local (Exim 4.69) (envelope-from ) id 1LjXS3-0008LM-0i; Tue, 17 Mar 2009 19:27:19 +0800 From: Sheng Yang To: Avi Kivity , Marcelo Tosatti Cc: kvm@vger.kernel.org, Sheng Yang Subject: [PATCH 1/1] KVM: Correct deassign device ioctl to IOW Date: Tue, 17 Mar 2009 19:27:19 +0800 Message-Id: <1237289239-32054-1-git-send-email-sheng@linux.intel.com> X-Mailer: git-send-email 1.5.6.3 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org It's IOR by mistake, so fix it before release. Signed-off-by: Sheng Yang --- include/linux/kvm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/kvm.h b/include/linux/kvm.h index f8abdbf..ee755e2 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -489,7 +489,7 @@ struct kvm_irq_routing { struct kvm_assigned_irq) #define KVM_ASSIGN_DEV_IRQ _IOW(KVMIO, 0x70, struct kvm_assigned_irq) #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71) -#define KVM_DEASSIGN_PCI_DEVICE _IOR(KVMIO, 0x72, \ +#define KVM_DEASSIGN_PCI_DEVICE _IOW(KVMIO, 0x72, \ struct kvm_assigned_pci_dev) #define KVM_ASSIGN_SET_MSIX_NR \ _IOW(KVMIO, 0x73, struct kvm_assigned_msix_nr)