target/ppc: Clarify the meaning of return values in kvm_handle_debug
commit6e0552a3a7d4e340a06372d79a27e4d89812d241
authorFabiano Rosas <farosas@linux.ibm.com>
Fri, 10 Jan 2020 15:13:42 +0000 (10 12:13 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 2 Feb 2020 03:07:57 +0000 (2 14:07 +1100)
treec12c910025dbbe4fac5b2987361293ecf558c9b2
parentb2ce76a0730e48e60633a698cd876d55917ac9bc
target/ppc: Clarify the meaning of return values in kvm_handle_debug

The kvm_handle_debug function can return 0 to go back into the guest
or return 1 to notify the gdbstub thread and pass control to GDB.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Message-Id: <20200110151344.278471-2-farosas@linux.ibm.com>
Tested-by: Leonardo Bras <leonardo@ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/kvm.c