]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: Correct deassign device ioctl to IOW
authorSheng Yang <sheng@linux.intel.com>
Tue, 17 Mar 2009 11:27:19 +0000 (19:27 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:15 +0000 (11:03 +0200)
It's IOR by mistake, so fix it before release.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm.h

index 0d94b274c3aef969eca5a3acec48fbba48a1b032..311a073afe8a3e79e04b7658bc551509adcf6b2b 100644 (file)
@@ -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)
 
 /*