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>
H. Peter Anvin suggested to use motherboard specific ports
for testing instead of ones well known. Thanks, Peter!
Reported-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
To make so we write any value to port 0 and
start kvm in --dbgtest mode so we are expecting
for this exit.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>