RE: How to use PCI-passthrough with kvm

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: 'w1ndoz' <w1ndoz@...>
Cc: 'kvm@vger.kernel.org' <kvm@...>
Date: Sunday, December 14, 2008 - 10:37 pm

I think you need sync with kernel code:

$ ./configure
$ cd kernel
$ make sync LINUX=../../kvm  -- kvm kernel directory
$ cd ..
$ make
$ make install

BTW, you should also need following patch to pass compilation.

---
 kernel/x86/external-module-compat.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/x86/external-module-compat.h b/kernel/x86/external-module-compat.h
index b5e11e2..2f16ca7 100644
--- a/kernel/x86/external-module-compat.h
+++ b/kernel/x86/external-module-compat.h
@@ -335,7 +335,7 @@ struct kvm_desc_ptr {
 #define FEATURE_CONTROL_VMXON_ENABLED	(1<<2)
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
 
 struct mtrr_var_range {
 	u32 base_lo;
-- 
1.5.1

w1ndoz wrote:

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How to use PCI-passthrough with kvm, w1ndoz, (Wed Dec 10, 1:17 am)
RE: How to use PCI-passthrough with kvm, Han, Weidong, (Wed Dec 10, 5:35 am)
Re: How to use PCI-passthrough with kvm, w1ndoz, (Wed Dec 10, 10:39 pm)
RE: How to use PCI-passthrough with kvm, Han, Weidong, (Thu Dec 11, 3:32 am)
Re: How to use PCI-passthrough with kvm, w1ndoz, (Thu Dec 11, 6:11 am)
RE: How to use PCI-passthrough with kvm, Han, Weidong, (Thu Dec 11, 6:26 am)
Re: How to use PCI-passthrough with kvm, w1ndoz, (Sun Dec 14, 10:27 pm)
RE: How to use PCI-passthrough with kvm, Han, Weidong, (Sun Dec 14, 10:37 pm)