[PATCH 7/8] PVDMA: Guest: Add Kconfig options to select PVDMA

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Amit Shah
Date: Wednesday, November 7, 2007 - 7:21 am

This is to be enabled on a guest. Currently, only
'module' works; compiling it in freezes at HD bringup

Signed-off-by: Amit Shah <amit.shah@qumranet.com>
---
 drivers/kvm/Kconfig |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/kvm/Kconfig b/drivers/kvm/Kconfig
index 6569206..3385c10 100644
--- a/drivers/kvm/Kconfig
+++ b/drivers/kvm/Kconfig
@@ -47,6 +47,14 @@ config KVM_AMD
 	  Provides support for KVM on AMD processors equipped with the AMD-V
 	  (SVM) extensions.
 
+config KVM_PV_DMA
+	tristate "Para-virtualized DMA access"
+       ---help---
+         Provides support for DMA operations in the guest. A hypercall
+	 is raised to the host to enable devices owned by guest to use
+	 DMA. Select this if compiling a guest kernel and you need
+	 paravirtualized DMA operations.
+
 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
 # the virtualization menu.
 source drivers/lguest/Kconfig
-- 
1.5.3

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC: Paravirtualized DMA accesses for KVM, Amit Shah, (Wed Nov 7, 7:21 am)
[PATCH 6/8] KVM: PVDMA Guest: Add Makefile rule, Amit Shah, (Wed Nov 7, 7:21 am)
[PATCH 7/8] PVDMA: Guest: Add Kconfig options to select PVDMA, Amit Shah, (Wed Nov 7, 7:21 am)