commit | 2a0bc889c6e591ce2c094431668eb4a586396fff | [log] [tgz] |
---|---|---|
author | Paul Kirth <[email protected]> | Fri Jul 17 17:06:40 2020 +0000 |
committer | Paul Kirth <[email protected]> | Wed Aug 05 18:10:14 2020 +0000 |
tree | 7cd168f2a92cdf60b1f2c50f778ae56eb403a895 | |
parent | 2204f55867c323e1640a8f4e06be2271a427a6b3 [diff] |
Manage resources per session in ResourceManager Moves the resource manager from managing individual resources to managing them on a per session basis. A Session represents a single configuration requested as one transaction. This allows a client to request resources from a specific session to be dropped after they are no longer needed, without tracking every individual resource. Each session is owned by the user who requested it, and we perform a simple check on the UID of the client when servicing a StopSession Request. Bug: 148823285 Test: make -j Test: allocd &; allocd_client -ifcreate; allocd_client -stop_session -session=0; allocd_client -shutdown Change-Id: I739b7f56ba618c22ae91f549ad718e9f804ac5a5
git clone https://github.com/google/android-cuttlefish cd android-cuttlefish debuild -i -us -uc -b sudo dpkg -i ../cuttlefish-common_*_amd64.deb sudo apt-get install -f
aosp-master
if you don‘t know what you’re looking foraosp_cf_x86_phone
and click on userdebug
for the latest buildArtifacts
aosp_cf_x86_phone-img-xxxxxx.zip
-- it will always have img
in the name. Download this filecvd-host_package.tar.gz
. You should always download a host package from the same build as your images.mkdir cf cd cf tar xvf /path/to/cvd-host_package.tar.gz unzip /path/to/aosp_cf_x86_phone-img-xxxxxx.zip
Launch cuttlefish with:
$ HOME=$PWD ./bin/launch_cvd
Stop cuttlefish with:
$ HOME=$PWD ./bin/stop_cvd
You can use adb
to debug it, just like a physical device:
$ ./bin/adb -e shell
You can use the TightVNC JViewer. Once you have downloaded the TightVNC Java Viewer JAR in a ZIP archive, run it with
$ java -jar tightvnc-jviewer.jar -ScalingFactor=50 -Tunneling=no -host=localhost -port=6444
Click “Connect” and you should see a lock screen!