Reply to Message

View discussion in a popup

Replying to:
selinux
Contributor
Contributor

Working around problem #1 (complaint about 'asm/bitops.h'): You need to extract the vmmon.tar file, and update the vcpuset.h file in vmmon-only/include.

Just change the '#include "asm/bitops.h"' to '#include "linux/bitops.h"'

http://You may need to repeat this for vmnet.tar, etc..

Working around the pv_mmu_ops issue is a bit more complex. First you need to get the sources for your kernel. On Fedora, get the kernel source rpm and 'install' it.

Next, you need to patch arch/x86/kernel/paravirt_32.c similar to below, and rebuild.

I believe this is 'not a good patch', that is, is probably going against what is happening in the kernel, but it seems to work until VMWare and the kernel 'make friends' again.

arch/x86/kernel/paravirt_32.c | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)

===================================================================

--- a/arch/x86/kernel/paravirt_32.c

+++ b/arch/x86/kernel/paravirt_32.c

@@ -440,8 +440,8 @@ struct pv_mmu_ops pv_mmu_ops = {

};

EXPORT_SYMBOL_GPL(pv_time_ops);

-EXPORT_SYMBOL_GPL(pv_cpu_ops);

-EXPORT_SYMBOL_GPL(pv_mmu_ops);

+EXPORT_SYMBOL (pv_cpu_ops);

+EXPORT_SYMBOL (pv_mmu_ops);

EXPORT_SYMBOL_GPL(pv_apic_ops);

EXPORT_SYMBOL_GPL(pv_info);

EXPORT_SYMBOL (pv_irq_ops);

Reply
0 Kudos