Commit Graph

5 Commits

Author SHA1 Message Date
Jiyong Park 00ceff3e65 pvmfw: parse and validate incoming device tree
Validate the incoming device tree and parse it into DeviceTreeInfo. No
modification to the device tree is made with this CL. The follow-up CL
will patch the embedded device tree template with DeviceTreeInfo.

Bug: 249054080
Test: run protected VM and see the log message from pvmfw

Change-Id: Ie55fa4ba70c807c729407c136c5b7d262473dae5
2023-03-15 16:16:33 +09:00
Andrew Walbran b398fc8393 Validate that PCI MMIO regions are within the expected range.
Bug: 237249346
Test: Built and ran pVM firmware manually
Change-Id: Ic506486c8961f40fa6f08c602813bf17796be8e7
2023-01-26 13:06:30 +00:00
Andrew Walbran 336d0cb201 Update for version 0.2.0 of virtio-drivers crate.
Bug: 237249743
Test: m vmbase_example_bin pvmfw_bin
Change-Id: I5a4d5b37f40885d466bd741ed9897df5ee8581aa
2023-01-09 11:29:10 +00:00
Bob Badour 580c76dd50 [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Virtualization
Added SPDX-license-identifier-Apache-2.0 to:
  libs/fdtpci/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I8995e94608f023ef60d8d475e7e5d9d1c49b4d14
2023-01-05 08:46:34 -08:00
Andrew Walbran 730375d709 Add new library to share FDT/PCI/VirtIO code.
This is used both by the vmbase example and by the pVM firmware.

Bug: 237249743
Test: Ran vmbase and pVM firmware manually
Test: atest vmbase_example.integration_test
Change-Id: Ia0e8e2434480bf6425c7396aa64cf2a1e9c520d7
2022-12-21 15:48:54 +00:00