Message ID | 1347869016-17204-6-git-send-email-levinsasha928@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tools/kvm/x86/ioport.c b/tools/kvm/x86/ioport.c index 4993f9d..e35d0ee 100644 --- a/tools/kvm/x86/ioport.c +++ b/tools/kvm/x86/ioport.c @@ -5,7 +5,7 @@ static bool debug_io_out(struct ioport *ioport, struct kvm *kvm, u16 port, void *data, int size) { - exit(EXIT_SUCCESS); + return 0; } static struct ioport_operations debug_ops = {
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. Signed-off-by: Sasha Levin <levinsasha928@gmail.com> --- tools/kvm/x86/ioport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)