|
|
9ae3a8 |
From 5bf6f353b202b4b3cfcf7c570dddf0557f39480c Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Alex Williamson <alex.williamson@redhat.com>
|
|
|
9ae3a8 |
Date: Tue, 5 Nov 2013 17:51:05 +0100
|
|
|
9ae3a8 |
Subject: [PATCH 20/25] linux-headers: Update for KVM-VFIO device
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Alex Williamson <alex.williamson@redhat.com>
|
|
|
9ae3a8 |
Message-id: <20131105175105.19705.91817.stgit@bling.home>
|
|
|
9ae3a8 |
Patchwork-id: 55442
|
|
|
9ae3a8 |
O-Subject: [RHEL7 qemu-kvm PATCH 1/2] linux-headers: Update for KVM-VFIO device
|
|
|
9ae3a8 |
Bugzilla: 1025474
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Bugzilla: 1025474
|
|
|
9ae3a8 |
Upstream: Posted - http://lists.nongnu.org/archive/html/qemu-devel/2013-11/msg00090.html
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
linux-headers/linux/kvm.h | 4 ++++
|
|
|
9ae3a8 |
1 file changed, 4 insertions(+)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
linux-headers/linux/kvm.h | 4 ++++
|
|
|
9ae3a8 |
1 files changed, 4 insertions(+), 0 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
|
|
|
9ae3a8 |
index 01bf15b..e32ef4a 100644
|
|
|
9ae3a8 |
--- a/linux-headers/linux/kvm.h
|
|
|
9ae3a8 |
+++ b/linux-headers/linux/kvm.h
|
|
|
9ae3a8 |
@@ -840,6 +840,10 @@ struct kvm_device_attr {
|
|
|
9ae3a8 |
#define KVM_DEV_TYPE_FSL_MPIC_20 1
|
|
|
9ae3a8 |
#define KVM_DEV_TYPE_FSL_MPIC_42 2
|
|
|
9ae3a8 |
#define KVM_DEV_TYPE_XICS 3
|
|
|
9ae3a8 |
+#define KVM_DEV_TYPE_VFIO 4
|
|
|
9ae3a8 |
+#define KVM_DEV_VFIO_GROUP 1
|
|
|
9ae3a8 |
+#define KVM_DEV_VFIO_GROUP_ADD 1
|
|
|
9ae3a8 |
+#define KVM_DEV_VFIO_GROUP_DEL 2
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
/*
|
|
|
9ae3a8 |
* ioctls for VM fds
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.7.1
|
|
|
9ae3a8 |
|