From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> Cc: kvm@vger.kernel.org, Sheng Yang To: Avi Kivity , Marcelo Tosatti Return-path: 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 Sender: kvm-owner@vger.kernel.org List-ID: 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) -- 1.5.4.5