]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Implement keyboard reset method
authorSasha Levin <levinsasha928@gmail.com>
Fri, 17 Jun 2011 20:41:28 +0000 (16:41 -0400)
committerPekka Enberg <penberg@kernel.org>
Fri, 17 Jun 2011 21:38:39 +0000 (00:38 +0300)
commit94d8fdbe3f17e88b2c6c3ca334e20b539482750e
tree7df67571b0f902227807295f579294bf64d5cfb5
parentf40f62a2a688b774ca2710bdcda026d5c3eabf50
kvm tools: Implement keyboard reset method

Implement the keyboard reset method which allows guest kernel
to reboot the guest using the keyboard controller.

This will allow guest kernel to reboot the guest when it needs to,
for example - kernel panic (when passing "panic=1" as kernel parameter).

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/hw/i8042.c
tools/kvm/include/kvm/kvm-cpu.h
tools/kvm/kvm-cpu.c
tools/kvm/kvm-run.c