Commit 469a2d97 authored by Kirk Webb's avatar Kirk Webb

tbadb_serv: separate port forwarding reservation from activation.

Since we need to determine the port adb will listen on for a device
early on in the experiment swap-in process (right after mapping), we
call an RPC to just reserve the port first.  Later on during experiment
resource setup, we call an "activate" RPC to actually setup the adbd
port forwarding.

I also fixed up error_exit() to log its caller as the function that had
the error, not itself.  It uses the Net::Server class' log() method now
as well.
parent 3bfea992
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment