Hi all. The suggestion from Hollis fixed the lost characters on printing. I've spent some time getting past the ugly error message, which was the end of the guest boot last I wrote, and it turned out to be faulty handling of hardware IRQ exceptions and has been fixed. The guest now sets up actual page tables, massages the MMU and more, and the KVM implementation keeps up. However, I have a feeling we're flushing the shadow page table way too many times already and we're spilling memory from not freeing old shadow page tables or re-using them and updating them. Michael, with the latest changes you should be ready to go forward on some of this if you want. The guest now faults when it tries to setup interrupt vectors as these entries in the shared page tables are marked read-only for the guest. I will continue to work towards further boot progress for the guest and will commit these changes, which are now in my private branch, to the main branch, unless I hear any complaints. I have attached the patches. Best, Christoffer -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Fix-hardware-IRQ-handling-for-guest-and-added-assemb.patch Type: application/octet-stream Size: 4879 bytes Desc: not available Url : https://lists.cs.columbia.edu/pipermail/android-virt/attachments/20091103/daf13a99/0001-Fix-hardware-IRQ-handling-for-guest-and-added-assemb-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-Added-CP15-main-ID-register-to-register-struct.patch Type: application/octet-stream Size: 2428 bytes Desc: not available Url : https://lists.cs.columbia.edu/pipermail/android-virt/attachments/20091103/daf13a99/0002-Added-CP15-main-ID-register-to-register-struct-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: 0003-Made-ls_get_rn-function-non-static-to-avoid-compile.patch Type: application/octet-stream Size: 972 bytes Desc: not available Url : https://lists.cs.columbia.edu/pipermail/android-virt/attachments/20091103/daf13a99/0003-Made-ls_get_rn-function-non-static-to-avoid-compile-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: 0004-Removed-the-debugging-code-from-kvm_main.c.patch Type: application/octet-stream Size: 1076 bytes Desc: not available Url : https://lists.cs.columbia.edu/pipermail/android-virt/attachments/20091103/daf13a99/0004-Removed-the-debugging-code-from-kvm_main.c-0001.obj