On 30.05.2014 17:46, Alexander Graf wrote:
This should do the trick. Output will be in dmesg:
diff --git a/arch/powerpc/kvm/book3s_32_mmu.c
b/arch/powerpc/kvm/book3s_32_mmu.c
index 93503bb..939b14f 100644
--- a/arch/powerpc/kvm/book3s_32_mmu.c
+++ b/arch/powerpc/kvm/book3s_32_mmu.c
@@ -27,8 +27,8 @@
#include <asm/kvm_ppc.h>
#include <asm/kvm_book3s.h>
-/* #define DEBUG_MMU */
-/* #define DEBUG_MMU_PTE */
+#define DEBUG_MMU
+#define DEBUG_MMU_PTE
/* #define DEBUG_MMU_PTE_IP 0xfff14c40 */
#ifdef DEBUG_MMU
Hi Alex,
Unfortunately, the KVM modul doesn't compile with DEBUG_MMU.
Kernel 3.14.4:
make modules
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
AS [M] arch/powerpc/kvm/fpu.o
CC [M] arch/powerpc/kvm/book3s_paired_singles.o
CC [M] arch/powerpc/kvm/book3s_pr.o
CC [M] arch/powerpc/kvm/book3s_pr_papr.o
CC [M] arch/powerpc/kvm/book3s_emulate.o
AS [M] arch/powerpc/kvm/book3s_interrupts.o
CC [M] arch/powerpc/kvm/book3s_mmu_hpte.o
CC [M] arch/powerpc/kvm/book3s_64_mmu_host.o
CC [M] arch/powerpc/kvm/book3s_64_mmu.o
CC [M] arch/powerpc/kvm/book3s_32_mmu.o
arch/powerpc/kvm/book3s_32_mmu.c: In function
‘kvmppc_mmu_book3s_32_get_pteg’:
arch/powerpc/kvm/book3s_32_mmu.c:133:2: error: ‘struct
kvmppc_vcpu_book3s’ has no member named
Och jetzt komm - das bisschen C um den zu fixen wirst du doch noch
schaffen, oder? ;)
Huch, Deutsch. Bestimmt aus Nürnberg. :D Meine Lieblingsstadt. ;-) I
have solved the problem above.
Dmesg logs:
watch -n 0 "dmesg" > dmesg_mol_mac_os_x_tiger.txt
watch -n 0 "dmesg" > dmesg_mol_mac_os_x_jaguar.txt
http://forum.hyperion-entertainment.biz/download/file.php?id=1215
http://forum.hyperion-entertainment.biz/download/file.php?id=1216
more dmesg_mol_mac_os_x_tiger.txt
I hope you can fix the problem.
-- Christian
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html