commit | c7791e9a21c102dd43116f10b786edd6162893bf | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <[email protected]> | Mon Oct 26 17:44:00 2020 -0700 |
committer | Chih-hung Hsieh <[email protected]> | Tue Oct 27 23:27:08 2020 +0000 |
tree | 6ba864dd6c47625a0ee8d6539e297053f357e64b | |
parent | fcaa523d015c64924f793d38c1584f7f1a3efaf8 [diff] |
Fix errors for external_updater. * Unrecognized field name in METADATA kills external_updater. It is moved to README.android. * Local patch for src/lib.rs is omitted, assuming that the change will be in the next release. * The following update command test if the next update will preserve required local changes: updater.sh update --refresh --keep_date rust/crates/vsock Test: make Test: tools/external_updater/updater.sh update --refresh --keep_date rust/crates/vsock Change-Id: I39f61c37bcc25009b078b62d01057aad80f00ad9
Virtio socket support for Rust. Implements VsockListener and VsockStream which are analogous to the std::net::TcpListener
and std::net::TcpStream
types.
Refer to the crate documentation.
You will need a recent qemu-system-x86_64 build in your path.
Setup the required virtio kernel modules:
make kmod
Start the test vm, you can shutdown the vm with the keyboard shortcut Ctrl+A
and then x
:
make vm
Run the test suite with:
make check