summaryrefslogtreecommitdiff
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-03-17 19:27:19 +0800
committerAvi Kivity <avi@redhat.com>2009-03-24 11:03:15 +0200
commitbc7a8660df62da3fb5cad025322eda75fbee8731 (patch)
treefd65bc4aa3046b3dffc843389be52869576aa99b /include/linux/kvm.h
parent046a48b35baa7c66d0d0331256ba12ca51665411 (diff)
downloadlwn-bc7a8660df62da3fb5cad025322eda75fbee8731.tar.gz
lwn-bc7a8660df62da3fb5cad025322eda75fbee8731.zip
KVM: Correct deassign device ioctl to IOW
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>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 0d94b274c3ae..311a073afe8a 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)
/*