summaryrefslogtreecommitdiff
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-03-17 14:27:19 +0300
committerAvi Kivity <avi@redhat.com>2009-03-24 12:03:15 +0300
commitbc7a8660df62da3fb5cad025322eda75fbee8731 (patch)
treefd65bc4aa3046b3dffc843389be52869576aa99b /include/linux/kvm.h
parent046a48b35baa7c66d0d0331256ba12ca51665411 (diff)
downloadlinux-bc7a8660df62da3fb5cad025322eda75fbee8731.tar.xz
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)
/*