mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
The goldfish battery irq will be used to notify the guest driver that battery/ac status changed. And the status changing will be done through external crosvm commands. So the irq injection needs to be done in a seperate thread which can receive these commands. BUG=chromium:1050432 BUG=b:137890633 TEST=create VM with parameter "--battery" or "--battery=type=goldfish" and boot linux guest with goldfish_battery driver enabled. The sysfs created by the goldfish_battery driver have no issue observed. TEST=goldfish_battery driver is loaded on ARCVM and interrupts are enabled Change-Id: Icc902dd8c00bdcf6cb271b20d928a4081533dde6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2119573 Commit-Queue: Alex Lau <alexlau@chromium.org> Tested-by: Alex Lau <alexlau@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
android.rs | ||
fdt.rs | ||
lib.rs | ||
pstore.rs | ||
serial.rs |