From: Sheng Yang Date: Tue, 17 Mar 2009 11:27:19 +0000 (+0800) Subject: KVM: Correct deassign device ioctl to IOW X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bc7a8660df62da3fb5cad025322eda75fbee8731;p=linux-2.6-omap-h63xx.git KVM: Correct deassign device ioctl to IOW It's IOR by mistake, so fix it before release. Signed-off-by: Sheng Yang Signed-off-by: Avi Kivity --- diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 0d94b274c3a..311a073afe8 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -483,7 +483,7 @@ struct kvm_irq_routing { #define KVM_ASSIGN_IRQ _IOR(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) /*