Hi, These patches contain changes that I am currently using on top of git://github.com/penberg/linux-kvm.git (as of v3.13-rc1-1427-gd9147fb) to run lkvm on MIPS. The core is David's work for mips support and loading elf binaries. I rebased his stuff, rearranged patches somewhat and split out general (non-mips-specific) modifications. I used it to test a paravirtualized guest on a host running KVM with MIPS-VZ (on octeon3). Changelog: v2: - Removed superfluous includes in tools/kvm/Makefile (mips) - Fixed debug output format for register dump (mips) (when using 32-bit lkvm with 64-bit guest) - Added comment for guest type (KVM_VM_TYPE) (mips) - Added check for upper bound of len in hypercall_write_cons (mips) - Modified patch sequence to avoid temporary introduction of load_bzimage (mips) - Added patch to return number of bytes written by term_putc v1: - http://marc.info/?i=1399391491-5021-1-git-send-email-andreas.herrmann@xxxxxxxxxxxxxxxxxx Please apply -- if there are no additional comments or objections. Thanks, Andreas