aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/kvm.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2013-04-12 10:08:46 -0400
committerAlexander Graf <agraf@suse.de>2013-04-26 14:27:23 -0400
commit5df554ad5b7522ea62b0ff9d5be35183494efc21 (patch)
treeb00f569c1d7a684d3455ad59f52c7b5aa7ac04e7 /include/uapi/linux/kvm.h
parentf0f5c481a91c56f1ee5b3809bf3943115143b1a7 (diff)
kvm/ppc/mpic: in-kernel MPIC emulation
Hook the MPIC code up to the KVM interfaces, add locking, etc. Signed-off-by: Scott Wood <scottwood@freescale.com> [agraf: add stub function for kvmppc_mpic_set_epr, non-booke, 64bit] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/uapi/linux/kvm.h')
-rw-r--r--include/uapi/linux/kvm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index 38a0be0c199f..4148becdc93f 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -837,6 +837,9 @@ struct kvm_device_attr {
837 __u64 addr; /* userspace address of attr data */ 837 __u64 addr; /* userspace address of attr data */
838}; 838};
839 839
840#define KVM_DEV_TYPE_FSL_MPIC_20 1
841#define KVM_DEV_TYPE_FSL_MPIC_42 2
842
840/* 843/*
841 * ioctls for VM fds 844 * ioctls for VM fds
842 */ 845 */