commit | 3f6125f703bf402cec3cbae0022d32636194751e | [log] [tgz] |
---|---|---|
author | Paul Kirth <[email protected]> | Wed Jul 15 04:37:20 2020 +0000 |
committer | Paul Kirth <[email protected]> | Tue Aug 04 23:14:01 2020 +0000 |
tree | 311aa96837675f07bcc5f6d82283469f0c3276d7 | |
parent | fa048be7c98183b2412afc2c0c0db51431121a9b [diff] |
Support batch config requests in ResourceManager Extends the JSON format of request to allow for many resources of differing types to be requested in a batch. The intent is for clients of allocd to request their entire desired configuration as one transaction. Should any part of the transaction fail, we can abort and roll back the reserved/already configured resources and return the system to its original state prior to the request. Because the format of the JSON has changed we now perform additional validation for the new JSON format of configuration requests. Additionally, we are using StaticResource data types to manage resources in a more principled manner, because managing the state of each transaction can more complex than the simple individual requests supported before this patch. Bug: 148823285 Test: make -j Test: allocd &; allocd_client --ifcreate allocd_client --shutdown Change-Id: I8187939aded389c80736dae063f699a8589969d8
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!