]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: don't exit on debug ioport write
authorSasha Levin <levinsasha928@gmail.com>
Tue, 18 Sep 2012 09:45:13 +0000 (11:45 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 19 Sep 2012 06:54:11 +0000 (09:54 +0300)
commit5a337ac3c4d0ae3b078912396b90de35fa11e7f0
tree455830d92c15069560829250c24fe7aa917890da
parent3a7d5bc0e3e5cbf2451e026c9a4f1874ab5bbafa
kvm tools: don't exit on debug ioport write

While it shouldn't happen on regular guests, we sometimes hit it when fuzzing
within the guest, which would cause the lkvm process to exit - which is
undesired.

Our PIT tests were using the debug port to trigger a reboot. Instead of using
that port we now use the reboot line of our i8042 controller.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/tests/pit/tick.S
tools/kvm/x86/ioport.c