Commit Graph

9 Commits

Author SHA1 Message Date
Jooyung Han fc732f56f1 Merge VM and CDISK config into libvmconfig
so that virtualizationservice and vm use it.

Bug: 190503456
Test: MicrodroidHostTestCases
Change-Id: I63eaf0ac1c6d0e1e17d19f4863c5f4f14525aa32
2021-06-29 09:48:53 +09:00
Andrew Walbran 0c4d3df475 Move shared config structs to shared crate.
Bug: 184131523
Test: mm
Change-Id: I53e46a2985addbee9facd5b007778ae60c583900
2021-06-09 11:46:06 +00:00
Andrew Walbran f6bf686c97 Rename VirtManager to VirtualizationService.
Bug: 188042280
Test: atest VirtualizationTestCases
Change-Id: I15f3f91e464f52d1b1fd47b1290846b1d21fa665
2021-05-26 12:27:37 +00:00
Andrew Walbran 3a5a921ef7 Pass file descriptors rather than filenames to Virt Manager.
This requires using a parcelable rather than a JSON file for the config.

Bug: 187181124
Test: atest VirtualizationTestCases
Change-Id: I1636010f5ed55da165f5acd82f1bd8b924e09b41
2021-05-18 17:33:49 +00:00
Andrew Walbran 651b068520 No longer need to use libbinder_rs directly.
Bug: 181869875
Test: mm
Change-Id: I8f417ddadddb36e031567aaf18a2e2f364f60b30
2021-03-19 16:46:07 +00:00
David Brazdil 20412d9e11 vm: Use Structopt for parsing command line arguments
Test: adb shell /apex/com.android.virt/bin/vm --help
Change-Id: I1c19f6f3d0ef3f78cd1c8a52fbce6a09affe08fe
2021-03-18 13:41:33 +00:00
Andrew Walbran a89fc13131 Allow client to pass a file descriptor for VM logs.
Bug: 180893082
Test: Ran vm tool on VIM3L
Test: atest VirtualizationTestCases
Change-Id: I6c7729eb01d953559e1ddb0b5eb84655a84159a8
2021-03-18 12:00:44 +00:00
Bob Badour 9dcd947c07 [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Virtualization
Added SPDX-license-identifier-Apache-2.0 to:
  vm/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Id7f868bac5b93f82f5af958cd26b0a7975ec8463
2021-03-10 22:56:24 -08:00
Andrew Walbran ea9fa48ceb Add `vm` tool for talking to Virt Manager.
For now it just has a single command, to run a specified VM.

Bug: 181869875
Test: Started a VM on a VIM3L
Change-Id: Ifdaaccb3be92e774ee4d7672914a3014220af489
2021-03-09 17:49:59 +00:00