aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-06-09 04:33:36 -0400
committerAvi Kivity <avi@redhat.com>2009-09-10 01:32:50 -0400
commit6a4a98397331723dce25a7537270548d91523431 (patch)
tree36aedb4d6a2724fff0d838eec812f2233b6a3381 /include/linux/kvm.h
parent3a624e29c7587b79abab60e279f9d1a62a3d4716 (diff)
KVM: Reorder ioctls in kvm.h
Somehow the VM ioctls got unsorted; resort. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 632a8560dbc..f1dada0519e 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -495,11 +495,6 @@ struct kvm_irqfd {
495 * ioctls for VM fds 495 * ioctls for VM fds
496 */ 496 */
497#define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region) 497#define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region)
498#define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
499#define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
500#define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46,\
501 struct kvm_userspace_memory_region)
502#define KVM_SET_TSS_ADDR _IO(KVMIO, 0x47)
503/* 498/*
504 * KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns 499 * KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns
505 * a vcpu fd. 500 * a vcpu fd.
@@ -507,6 +502,11 @@ struct kvm_irqfd {
507#define KVM_CREATE_VCPU _IO(KVMIO, 0x41) 502#define KVM_CREATE_VCPU _IO(KVMIO, 0x41)
508#define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log) 503#define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log)
509#define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias) 504#define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias)
505#define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
506#define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
507#define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46,\
508 struct kvm_userspace_memory_region)
509#define KVM_SET_TSS_ADDR _IO(KVMIO, 0x47)
510/* Device model IOC */ 510/* Device model IOC */
511#define KVM_CREATE_IRQCHIP _IO(KVMIO, 0x60) 511#define KVM_CREATE_IRQCHIP _IO(KVMIO, 0x60)
512#define KVM_IRQ_LINE _IOW(KVMIO, 0x61, struct kvm_irq_level) 512#define KVM_IRQ_LINE _IOW(KVMIO, 0x61, struct kvm_irq_level)