crosvm/vm_control
Pierre-Clément Tosi 50363c4b3c devices: Support HVC-based device PM (pKVM)
Expose a virtual device enabling the guest to control the power state of
physical devices through hypercalls provided by pKVM.

Wrap the AArch64 generic DevicePowerManager in that device, to expose
its managed PDs (currently only vfio-platform devices) to the guest:

  HvcDevicePowerManager <--> DevicePowerManager <--> [TO HOST...]
        ^
        |
      (HVC)
        |
        v
   Guest (driver)

Guard the feature behind the --dev-pm CLI flag.

BUG=b:460349550
TEST=tools/presubmit

Change-Id: I999a2e611621b3393d409e071916037bb54f4385
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/7421205
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Frederick Mayle <fmayle@google.com>
Auto-Submit: Pierre-Clément Tosi <ptosi@google.com>
2026-01-23 14:29:56 -08:00
..
src devices: Support HVC-based device PM (pKVM) 2026-01-23 14:29:56 -08:00
Cargo.toml vm_control: remove repr(u16) of CrosvmDeviceId 2025-12-02 13:09:25 -08:00