mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
bbb32af60d
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> |
||
---|---|---|
.. | ||
9p_device.policy | ||
balloon_device.policy | ||
battery.policy | ||
block_device.policy | ||
common_device.policy | ||
cras_audio_device.policy | ||
fs_device.policy | ||
gpu_device.policy | ||
input_device.policy | ||
net_device.policy | ||
null_audio_device.policy | ||
pmem_device.policy | ||
rng_device.policy | ||
serial.policy | ||
tpm_device.policy | ||
vhost_net_device.policy | ||
vhost_vsock_device.policy | ||
wl_device.policy | ||
xhci.policy |