]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kvm: Don't crash debug dump if address isn't in guest memory
authorPekka Enberg <penberg@cs.helsinki.fi>
Sun, 11 Apr 2010 09:45:15 +0000 (12:45 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 11 Apr 2010 09:45:15 +0000 (12:45 +0300)
commitea77d0e1088ddfcb44e0038293e92bf47f9c32fe
treebbd472e0a931b27506faa2886796612c282effdc
parent85fd66c2b926d5805f344d5ea1e0e9e11626c6f7
kvm: Don't crash debug dump if address isn't in guest memory

We don't do MMU translation in the hypevisor for guest memory addresses which
causes us to try to dereference invalid pointers.  Work around the problem by
checking that a pointer is in guest memory before dumping the contents.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/kvm.c