[guestmgr] Initial implementation.

 * Add guestmgr application managed by sysmgr.
 * Convert machina::InspectService into guest::GuestController.
 * Update cli to talk to guestmgr.

The guestmgr app exposes a global service that can be used to launch
and connect to guest VMs. The GuestController interface (exposed by the
vmm binary) allows for other applications to integrate with different
parts of the virtual machine (currently display and a serial port).

After lauching a guest, the job hierarcy resembles something like:

TASK                   PSS PRIVATE  SHARED NAME
j:1029             1430.8M 1065.6M         root
  j:1083            468.0M  295.2M         fuchsia
    p:3915          888.6k    888k     28k appmgr
    j:4123          467.1M  294.3M         app
      p:4519        548.6k    548k     28k sysmgr
      j:4673        466.6M  293.8M         sys
      ...
        j:8125      337.0M  220.7M         debian_guest
          p:8267    316.6k    316k     28k guest_runner
          p:8536    336.7M  220.4M  462.5M vmm

This change doesn't yet wire up vsock connections, that will come in a
follow up CL.

Change-Id: Ie9c787ca1ac1e0415c533373ae35abb8df725c38
37 files changed
OSZAR »